Repository navigation
ci: run independent gates in parallel with test job - #677
Merged
Merged
Conversation
Split the sequential Test & Build job so the guardrail gates (boundary, deadcode, import tiers, specs, doc facts, actionlint, lifecycle, sandbox, etc.) run in a second job that starts at the same time. Critical path becomes the slower of the two jobs instead of their sum. No test or check is removed. Full suite still runs before main via merge_group.
toasterbook88
commented
Nov 21, 2026
toasterbook88
left a comment
Owner
Author
There was a problem hiding this comment.
AXIS Grok gate
Verdict: PASS-WITH-RISK
PR #677: ci: run independent gates in parallel with test job
Head: c75686a
Files: .github/workflows/ci.yml (1 file, +20)
Invariant hits: none.
- Pure CI workflow split. No agent surfaces, no fact-plane changes, no new tools, no secret/ssh/fleet paths, no HITL/lock changes, no cache or inventory claims.
- Checks preserved exactly: test job retains lint/tests/race/install/build/coverage; gates job runs the independent guardrails (sandbox ssh -G, public boundary, deadcode, import tiers, specs, repo truth, doc facts, Claude/secret/workflow pins, actionlint, lifecycle).
- Permissions remain contents: read. Actions stay SHA-pinned. GITHUB_TOKEN usage unchanged (repo-truth step only).
- merge_group still requires the full suite before main.
CI status (at review): Test & Build in_progress, Independent gates in_progress, govulncheck in_progress, Analyze in_progress. auto-merge skipped. mergeable_state: blocked (expected).
Recommended operator action: confirm both new jobs start together and go green on this PR, then merge. Residual risk is only that the parallel split has not yet completed on CI; the YAML itself does not weaken any gate.
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
Test & Buildjob into two parallel jobs.testkeeps lint, unit tests, race, install tests, build, and coverage.gatesjob runs all independent guardrails (sandbox ssh -G, public boundary, deadcode, import tiers, specs, repo truth, doc facts, Claude/secret/workflow pins, actionlint, lifecycle) at the same time.merge_group.Before / after (from prior API timings)
Expected new wall time ≈ max(test path ~280 s, gates path ~80 s) ≈ 280 s (roughly 1 min faster) once both runners are free.
Test plan