fix: update workflow contract tests for install-matrix job#1355
Conversation
- Add install-matrix to expected job list in desktop-smoke test - Add install-matrix to check.needs expectation - Remove strategy/matrix assertions (now used by install-matrix) - Add install-matrix setup-bun pin to bun-version test - Add audit comment to install-matrix bun-version line
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a single warning comment in the Changesinstall-matrix job comment and test alignment
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration. 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. Comment |
There was a problem hiding this comment.
Suggested priority: P3 (only low-risk paths changed (.github/workflows/desktop-smoke.yml, packages/opencode/test/github/bun-version-workflow.test.ts, packages/opencode/test/github/desktop-smoke-workflow.test.ts)).
P1/P0 are reserved for maintainer confirmation. Please relabel manually if this is a release blocker, security issue, data-loss risk, or updater/runtime failure.
- Check install-matrix needs, if, runs-on, timeout-minutes - Assert strategy.matrix.node-version is ['24', '26'] - Assert setup-node uses matrix.node-version - Assert bun install --frozen-lockfile and --assert-complete - Change global strategy/matrix check to smoke-section-only check
Summary
Update workflow contract tests to account for the new
install-matrixjob added in PR #1352, and keep the new matrix assertion type-safe undertsgo.Why
PR #1352 added an
install-matrixjob todesktop-smoke.ymlbut didn't update the contract tests that validate the workflow structure. This causeddevCI to fail on the merged commit.Changes
desktop-smoke-workflow.test.ts: addinstall-matrixto expected job list andcheck.needs; assert the new Node 24/26 install matrix through a type-safe matrix record.bun-version-workflow.test.ts: add theinstall-matrixsetup-bun pin to the expected list.desktop-smoke.yml: add an audit comment toinstall-matrix'sbun-versionline.How To Verify
Checklist
bugci,harnessP1Summary by CodeRabbit
Tests
Chores
Note: This release updates internal CI workflow coverage and documentation only, with no user-facing changes.