ci: reduce routine validation fanout - #4503
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR refactors routine pull request CI to a single always-reporting Frontend build job that conditionally runs frontend/Rust/E2E work based on changed paths, while moving broader cross-platform and native validation into the release workflow and preserving exact-SHA recovery/branch-protection contracts.
Changes:
- Collapse
.github/workflows/ci.ymlto one requiredbuildjob and add path-aware gating viascripts/ci-paths.mjs. - Expand
release.ymlwith dedicated release validation jobs (web+E2E, platform runtime matrix, Windows-native, iOS build) and wirebuild.needsto wait for them. - Update contract tests/docs/skills to reflect the new “ONE required check” model and validate the new workflow topology.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src-tauri/release-runtime.test.mjs | Updates release/runtime workflow contract assertions to track jobs moved from CI into release.yml. |
| scripts/run-tests.mjs | Wires the new scripts/ci-paths.test.mjs into the repository test suites list. |
| scripts/ios-build-ci.test.mjs | Retargets iOS build contract checks from ci.yml to release.yml and updates expectations (runner + dependencies). |
| scripts/ci-recovery.test.mjs | Updates recovery test fixtures to expect only the single guarded build job. |
| scripts/ci-recovery.mjs | Narrows guarded job inventory to ["build"] for recovery validation logic. |
| scripts/ci-recovery-workflow.test.mjs | Asserts CI has exactly one job and release build waits on all new release validation jobs. |
| scripts/ci-paths.test.mjs | Adds unit tests for the path classifier behavior. |
| scripts/ci-paths.mjs | Introduces the path classifier and CLI wrapper used by CI to decide which suites to run. |
| scripts/branch-to-merge-contract.test.mjs | Updates branch-to-merge skill contract checks to match the single required context and updated CLAUDE.md wording. |
| CLAUDE.md | Updates branch protection documentation to reflect Frontend build as the only required status check. |
| .github/workflows/release.yml | Adds release validation jobs and ensures artifact build waits on them. |
| .github/workflows/ci.yml | Replaces multi-job PR CI fanout with a single path-aware Frontend build job. |
| .agents/skills/branch-to-merge/SKILL.md | Updates guidance to reflect one required check and path-aware Playwright behavior. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Frontend buildjobValidation
pnpm lintpnpm check:tests-wiredTransition
Once this PR head reports a successful
Frontend build, classic branch protection can safely be reduced from nine contexts to that one existing context without stranding old or new PR branches.Bead: cave-58eoq.8