Skip to content

ci: use approved quality runner with explicit baseline routing - #60

Merged
candlelightner merged 1 commit into
mainfrom
ci/adopt-quality-runner-47
Oct 23, 2026
Merged

candlelightner merged 1 commit into
mainfrom
ci/adopt-quality-runner-47

Conversation

@candlelightner

@candlelightner candlelightner commented Oct 23, 2026 •

Copy link
Copy Markdown
Owner

The published quality runner has now passed clean anonymous pull/run and two matched cold/warm hosted pairs in #58. This PR uses it in the existing quality job for compatible checkouts.

A reviewed immutable image pin binds the Node 22/ABI127 contract and checkout test-lock/recipe/guard hashes. Matching inputs run the pinned image with only npm download-cache reuse; application/test dependencies still use npm ci. Changed or missing inputs explicitly run every existing baseline command, allowing lock updates to merge before a new trusted-main image is published. Malformed approval metadata fails visibly. Image pull, guard or test failures also fail quality; they never silently retry the baseline.

The quality job name, test gate and all DinD/build/publication jobs remain unchanged. The Docker client pulls anonymously with a fresh empty config; the quality container receives only its workspace/cache and CI flag, with no credentials, host socket or privileged mode. Weekly refreshed images require separate reviewed pin updates, with documented rollback to the prior approved digest.

Benchmark evidence: cold repeat baseline 326.72s → image 274.04s including 19.61s pull (52.68s/16.1% observed improvement). Warm medians 254.58s vs 256.18s were effectively tied. Another baseline cold run had a 577s browser/library-install outlier; that large gap is not a typical speedup claim. Historical normal jobs suggest usual gains may be only 10–15s, and DinD can still dominate whole-pipeline duration. The primary benefits are avoiding repeated preparation and reducing that setup exposure.

Validation: eight selector tests, six image-helper tests, shell/YAML checks and independent security audit pass. A synthetic changed-lock fixture exercises real GITHUB_OUTPUT baseline routing without mutating actual lockfiles. Structural checks confirm all nine baseline command definitions and non-quality jobs are preserved. Hosted validation passes: the actual quality job selected the approved image, skipped all nine baseline steps and passed 1,908 ordinary tests plus 61 root fixtures (65+1 expected skips), with eight selector tests. It took 4m43s overall. Candidate validation and six image-helper tests pass, the PR publisher is skipped, the Docker API/UI gate passes, and all four orchestrator/worker AMD64/ARM64 builds pass. Main-branch adoption remains to be verified after merge. Refs #47.

Use a reviewed immutable digest when checkout lock/recipe/guard hashes match. Changed inputs explicitly retain the full baseline path so browser updates cannot deadlock behind trusted-main publication; malformed approvals and image execution failures remain visible CI failures.

Preserve quality/test-gate identities, baseline commands and isolated DinD/publication behavior. Record matched benchmark evidence and refresh/rollback responsibilities.

Co-authored-by: Codex <noreply@openai.com>
@candlelightner
candlelightner marked this pull request as ready for review October 23, 2026 10:13
@candlelightner
candlelightner merged commit 320a7a7 into main Oct 23, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant