ci(pr-gate): prepare trusted runner bundle execution - #598
Merged
Conversation
Add an additive lane-to-bundle plan and an opt-in bundle evaluator mode so the workflow topology can migrate only after these controls are trusted from the base revision.
Member
Author
|
Maintainer note on the staged trust migration:
|
Codex ReviewVerdict: mergeable No actionable findings. Summary: Static inspection found no concrete merge-blocking defects in the requested changes. |
Prevent the bundle-mode CLI test from inheriting GitHub Actions' GITHUB_STEP_SUMMARY path when it explicitly verifies stdout.
Member
Author
|
The first hosted
|
Codex ReviewVerdict: mergeable No actionable findings. Summary: Static inspection found no concrete merge-blocking defects. Bundle mode remains opt-in; the existing lane-based workflow is preserved. |
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.
Problem
The shadow PR Gate preserves semantic coverage, but its 21 execution lanes create avoidable runner queue pressure. The workflow cannot safely switch to bundled jobs in the same pull request that introduces bundle planning because preflight and aggregation intentionally execute the classifier and evaluator from the exact base SHA.
Proposed change
Prepare the trusted control plane for a later topology change:
policy,static,unit,coverage_macos,windows_core,macos_e2e, andwindows_e2e;Scope and non-goals
main.Acceptance criteria and validation
All listed checks ran after the final material edit:
npm test -- --run scripts/ci-> 7 files, 99 tests passed;npm run typecheck-> passed;npm run lint-> 0 errors (23 pre-existing warnings outside this diff);npx prettier --check <changed files>-> passed;npm run test:coverage-> 650 files and 9,560 tests passed; 15 files and 184 tests skipped; 87.71% statement coverage;CI Integrityis expected to reportprotected-gate-control-planefor the manifest, classifier, and evaluator. This PR therefore requires an explicit maintainer ruleset bypass. The hosted PR Gate should continue to pass through the trusted base-SHA lane path.Review focus
Uncovered risk: this phase does not measure the runner-queue improvement because it intentionally does not change workflow jobs. That measurement belongs to Phase B after this compatibility layer is merged.