Repository navigation
build(ci): release quality gate reuses main CI's tests at the same sha instead of re-running them - #1840
Merged
Conversation
…passed at the release sha #1839 Signed-off-by: Nik Cubrilovic <[email protected]>
… min bun test fallback) Signed-off-by: Nik Cubrilovic <[email protected]>
nc9
force-pushed
the
ci/release-reuse-main-ci
branch
from
November 14, 2026 06:08
1b365df to
95f7f54
Compare
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.
Part of #1839 (the release handbrake). Includes #1838's two commits (timeouts); merge #1838 first and this PR's own change is the last commit.
The release quality gate re-runs a bare whole-tree
bun test(29-36 min on the last four releases),test:engineandtest:release, although main CI (ci.ymlon push) already ran exactly those suites at the same sha: "CLI tests" runs every test file throughscripts/test-suites.ts(its--checkfails if any file belongs to no suite), plus "Audit engine golden tests" and "Release tooling tests".New first step in the
qualityjob, "Reuse main CI's test results at this sha":ci.ymlpush run on main forgithub.sha;success;Format, lint, typecheck, notices and the dependency audit still run in the gate (under 30 s together). The job gains
actions: read.Checked against real data: at the v0.0.182 release sha b440de5, main CI run 43553984445 returns "3 true" (all three test jobs success), so that release would have skipped ~30 min.
actionlint passes. No user-facing change, no docs or agent skill change.