ci: split Windows unit signal by package#139
Conversation
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 6 minutes and 47 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughRefactored Windows unit testing in CI workflow by splitting the single Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Code Review
This pull request refactors the CI workflow tests to accommodate splitting the Windows unit test job into package-specific jobs for the app, desktop, and opencode packages. It introduces categorized job lists to manage test assertions for checkout, caching, and artifact handling. A review comment suggests further refactoring these lists by deriving job names from a shared package list to improve maintainability and ensure consistency across Linux and Windows job definitions.
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Astro-Han
left a comment
There was a problem hiding this comment.
Reviewing the Windows CI split implementation. A few nitpicks below.
Astro-Han
left a comment
There was a problem hiding this comment.
Additional nitpicks on consistency and test coverage.
Astro-Han
left a comment
There was a problem hiding this comment.
One more observation on test coverage consistency.
43e88ec to
5c9219a
Compare
5c9219a to
6c1bc0b
Compare
Summary
ci / checkaggregateWhy
The previous
unit-windowsjob ran the full unit suite in one advisory Windows job. A timeout or flaky failure in one package made the whole Windows signal noisy and hard to diagnose. Issue #137 scopes this to package-level Windows signals while keeping the required Linux gate unchanged.Related Issue
Closes #137
How To Verify
bun --cwd packages/opencode test test/github/ci-workflow.test.ts actionlint .github/workflows/ci.yml git diff --checkScreenshots or Recordings
Not applicable, CI-only change.
Checklist
dev, and my PR title and commit messages use Conventional Commits in EnglishSummary by CodeRabbit