ci: split Windows advisory checks - #409
Conversation
|
Note Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported. |
|
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 (2)
📝 WalkthroughWalkthroughThis PR removes the blocking ChangesWindows Unit Testing Migration & Tests
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
🚥 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 docstrings
🧪 Generate unit tests (beta)
Review rate limit: 9/10 reviews remaining, refill in 6 minutes. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/windows-advisory.yml:
- Around line 8-16: Remove the pull_request trigger block from the workflow so
the file only uses push (to dev) and workflow_dispatch as triggers; locate the
'pull_request' and 'workflow_dispatch' keys in the YAML and delete the entire
pull_request section, leaving push/branch triggers and workflow_dispatch intact
to enforce post-merge/manual advisory runs, and then update the test in
packages/opencode/test/github/ci-workflow.test.ts to stop asserting that
'pull_request' exists (adjust assertions to expect only push/workflow_dispatch
or to assert absence of pull_request).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 3ef398f9-cbb7-4827-ab81-e784ef2b1383
📒 Files selected for processing (3)
.github/workflows/windows-advisory.ymlpackages/opencode/test/github/ci-workflow.test.tspackages/opencode/test/github/workflow-parser.ts
Summary
Split Windows advisory unit checks out of the primary
ciworkflow into a dedicatedwindows-advisoryworkflow.Why
The required PR checks have been stable, but the main
ciworkflow still waited on non-blocking Windows advisory matrix jobs. That made PR CI look slower and noisier even though those jobs do not participate in the merge gate. This keeps PRcifocused on blocking Linux checks while still running Windows advisory coverage after merges todevor on manual dispatch.Related Issue
No related issue. This is a small CI hygiene change from current CI success-rate review.
Human Review Status
Pending. A human should make the final merge decision after reviewing the final diff and verification evidence.
Review Focus
Please check that Windows advisory coverage was moved without changing the matrix commands, and that the new workflow does not run on
pull_requestby default.Risk Notes
Low. PRs no longer run Windows advisory checks by default, so Windows-only regressions remain advisory signals after merge to
devor manual dispatch. Required PR checks and the live dev ruleset are unchanged.How To Verify
Screenshots or Recordings
Not required. No visible UI changes.
Checklist
dev, and my PR title and commit messages use Conventional Commits in EnglishSummary by CodeRabbit
Tests
Chores