ci: fix flaky test#1496
Conversation
|
📝 WalkthroughWalkthroughThis change updates the CI test workflow to include a Vitest expect poll timeout flag and modifies pnpm workspace defaults by removing verifyDepsBeforeRun from the @pnpm/plugin-better-defaults configuration. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
CodSpeed Performance ReportMerging #1496 will not alter performanceComparing Summary
|
React Example#4065 Bundle Size — 236.88KiB (0%).5406b7b(current) vs a77b840 main#4057(baseline) Bundle metrics
|
| Current #4065 |
Baseline #4057 |
|
|---|---|---|
0B |
0B |
|
0B |
0B |
|
0% |
0% |
|
0 |
0 |
|
4 |
4 |
|
158 |
158 |
|
64 |
64 |
|
45.85% |
45.85% |
|
2 |
2 |
|
0 |
0 |
Bundle size by type no changes
| Current #4065 |
Baseline #4057 |
|
|---|---|---|
145.76KiB |
145.76KiB |
|
91.12KiB |
91.12KiB |
Bundle analysis report Branch colinaaa:colin/0812/flaky-test Project dashboard
Generated by RelativeCI Documentation Report issue
Web Explorer#4060 Bundle Size — 344.11KiB (0%).5406b7b(current) vs a77b840 main#4052(baseline) Bundle metrics
|
| Current #4060 |
Baseline #4052 |
|
|---|---|---|
143.27KiB |
143.27KiB |
|
31.84KiB |
31.84KiB |
|
0% |
0% |
|
7 |
7 |
|
7 |
7 |
|
211 |
211 |
|
17 |
17 |
|
3.96% |
3.96% |
|
4 |
4 |
|
0 |
0 |
Bundle size by type no changes
| Current #4060 |
Baseline #4052 |
|
|---|---|---|
229.31KiB |
229.31KiB |
|
82.95KiB |
82.95KiB |
|
31.84KiB |
31.84KiB |
Bundle analysis report Branch colinaaa:colin/0812/flaky-test Project dashboard
Generated by RelativeCI Documentation Report issue
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/workflows/test.yml(1 hunks)pnpm-workspace.yaml(0 hunks)
💤 Files with no reviewable changes (1)
- pnpm-workspace.yaml
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Tests** * Standardized test polling behavior by removing a custom timeout override for QR code-related tests, aligning with default settings to improve consistency and reduce flakiness. * No impact on application behavior or user experience; production functionality remains unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Fixes #1496 (comment) ## Checklist <!--- Check and mark with an "x" --> - [ ] Tests updated (or not required). - [ ] Documentation updated (or not required). - [ ] Changeset added, and when a BREAKING CHANGE occurs, it needs to be clearly marked (or not required).
Summary by CodeRabbit
New Features
Tests
Chores
See: https://github.com/lynx-family/lynx-stack/actions/runs/16899390188/job/47875887456
Also see: https://app.codecov.io/gh/lynx-family/lynx-stack/tests/main
Checklist