Skip to content

Fix CLI test timeouts#8090

Merged
deleonio merged 2 commits intofeature/update-migrations-tool-auf-3.0.1from
8utwsm-feature/fehlerbehebung-beim-timeout-fehler
Jul 21, 2025
Merged

Fix CLI test timeouts#8090
deleonio merged 2 commits intofeature/update-migrations-tool-auf-3.0.1from
8utwsm-feature/fehlerbehebung-beim-timeout-fehler

Conversation

@deleonio
Copy link
Copy Markdown
Contributor

@deleonio deleonio commented Jul 21, 2025

This pull request updates the kolibri-cli tool to use asynchronous parsing for CLI commands and adjusts the corresponding test cases to support this change. The most important changes include replacing program.parse() with program.parseAsync() and updating test cases to use async functions.

Updates to CLI command parsing:

Updates to test cases:

  • packages/tools/kolibri-cli/test/cli-interface.spec.ts: Updated multiple test cases to use async functions and await program.parseAsync() instead of program.parse() for commands like generate-scss, info, and migrate. This ensures compatibility with the asynchronous parsing introduced in the CLI commands. [1] [2] [3]

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 21, 2025

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jul 21, 2025

Hydration Benchmark Report (vs Baseline)

✅ Top 5 Improvements (Best Speedups)

Component Current Baseline Δ% Result
kol-table-stateless 359.7ms 437ms -17.7%
kol-heading 18.5ms 21.5ms -14%
kol-input-color 71.1ms 81.9ms -13.2%
kol-form 31ms 35.6ms -12.9%
kol-progress 28.7ms 32.8ms -12.5%

🔻 Flop 5 Regressions (Worst Slowdowns)

Component Current Baseline Δ% Result
kol-drawer 42.2ms 25.6ms +64.8% 🔻
kol-card 29.7ms 22.6ms +31.4% 🔻
kol-input-number 63.8ms 56.1ms +13.7% 🔻
kol-alert 113.5ms 105.9ms +7.2%
kol-link-button 60.3ms 56.5ms +6.7%
📋 Show all results
Component Current Baseline Δ% Result
kol-abbr 17.4ms 19.8ms -12.1%
kol-accordion 132.1ms 131ms +0.8%
kol-alert 113.5ms 105.9ms +7.2%
kol-avatar 25.8ms 26.9ms -4.1%
kol-badge 64.5ms 70.1ms -8%
kol-breadcrumb 97ms 97.6ms -0.6%
kol-button 59.7ms 63ms -5.2%
kol-button-link 50.2ms 50.7ms -1%
kol-card 29.7ms 22.6ms +31.4% 🔻
kol-details 130.1ms 134.9ms -3.6%
kol-drawer 42.2ms 25.6ms +64.8% 🔻
kol-form 31ms 35.6ms -12.9%
kol-heading 18.5ms 21.5ms -14%
kol-icon 66.4ms 65.1ms +2%
kol-image 17.2ms 19.3ms -10.9%
kol-input-checkbox 139.4ms 141.3ms -1.3%
kol-input-color 71.1ms 81.9ms -13.2%
kol-input-date 66.7ms 70.3ms -5.1%
kol-input-email 56.3ms 62.5ms -9.9%
kol-input-file 91.6ms 93.7ms -2.2%
kol-input-number 63.8ms 56.1ms +13.7% 🔻
kol-input-password 50.9ms 51.6ms -1.4%
kol-input-radio 50.5ms 56.5ms -10.6%
kol-input-text 61.2ms 59.3ms +3.2%
kol-link 49.3ms 49.8ms -1%
kol-link-button 60.3ms 56.5ms +6.7%
kol-modal 20.2ms 20.5ms -1.5%
kol-nav 31.4ms 33.9ms -7.4%
kol-pagination 434.5ms 423.8ms +2.5%
kol-popover-button 68.5ms 71.3ms -3.9%
kol-progress 28.7ms 32.8ms -12.5%
kol-quote 18.8ms 19ms -1.1%
kol-select 115.8ms 117.1ms -1.1%
kol-skip-nav 20.9ms 23.6ms -11.4%
kol-spin 23.7ms 24.2ms -2.1%
kol-split-button 166.9ms 174.7ms -4.5%
kol-table-stateful 396.7ms 374.7ms +5.9%
kol-table-stateless 359.7ms 437ms -17.7%
kol-tabs 28.4ms 32.3ms -12.1%
kol-textarea 50.7ms 54.1ms -6.3%
kol-toolbar 34.5ms 36ms -4.2%
kol-tree 26.4ms 26.5ms -0.4%
kol-tree-item 64.6ms 64ms +0.9%
kol-version 151.8ms 154.8ms -1.9%

@deleonio deleonio merged commit d4b7dd6 into feature/update-migrations-tool-auf-3.0.1 Jul 21, 2025
8 checks passed
@deleonio deleonio deleted the 8utwsm-feature/fehlerbehebung-beim-timeout-fehler branch July 21, 2025 08:55
@publicuibot publicuibot bot locked and limited conversation to collaborators Jul 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant