Repository navigation
Share the pinned Docker test runner with Fix Evals - #1185
Merged
Merged
Conversation
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.
Closes #835
Closes #847
What changed
Fix Evals and
autopilot --test-onlynow prepare their pinned Docker images and checkout snapshots through the same test-runner code. A regression test covers digest overrides, the pinned Kubernetes recipe, and fresh snapshots on reused images.The test-runner guide records the detected commands, the validated config override, and how to recover when Doctor cannot detect a test project.
Quality bar
Read docs/QUALITY.md and kept the existing quality gates and allowlist.
Checks CI cannot make
changes/for user-visible changes (this PR is a refactor and docs update)Verification
OFFING_CHECK_COVERAGE=1 npm run checkpassed locally.node --test dist/tests/{test-runners-detect,test-runners-result,fix-evals,autopilot}.test.jspassed 44 tests.0.1.1artifact detected npm install/build/test commands withoffing doctor --tests. It validated the documentedautopilot.testsoverride, executed both default and explicitly pinned test-only commands successfully, and supplied actionable guidance for an unsupported directory.npm run fix-evals -- --out <new-directory>reproduced the November 28 raw evidence on the same 60 pins (50 eligible, 10 excluded) and the same image IDs. All report fields match after removing the source revision. The 60 raw rows also match on command, status, exit code, test totals and failures, flaky classifications, metrics, and patch digests. All 51 patch files and 216 log streams per run matched their recorded SHA-256 digests. This comparison does not require identical execution durations or log text between runs.Notes for reviewers
The published
0.1.2consumer-path acceptance remains tracked by #368 and #444.