Repository navigation
Make the optimizer integration check fail on errors - #428
Conversation
|
Thanks for this — it fixes the defect as filed, and it fixes it in the right place. I verified it rather than eyeballing it, because #427 is itself a case of something that looked fine going unchecked. The claim that could not be known before
Ran your script verbatim against a release build: Confirmed: Can it go red? (three negative controls)A gate that only ever goes green is the bug being fixed, so:
That last row is the cleanest statement of #427: with the binary missing altogether, the old step reports a skip and goes green. Details I want to call out as right, not incidental
One non-blocking follow-up
StatusWorkflows show For whoever makes it: the diff is one commit, one file, +8/−8, read in full, and contains no network access, no secret use, and no writes outside Related: #429 is the exhaustive sweep of this pattern across all six workflow files. It leaves this job to this PR and has no overlap with it. |
|
Thanks for running the release build and the three negative controls, especially verifying the failure paths against main. I appreciate the careful confirmation of the .wat CLI path. |
1295fe4 to
82ab6f9
Compare
|
I replaced the sole commit with a signed equivalent so the PR meets the verified-signature rule. The source tree and diff are unchanged; GitHub now verifies commit 82ab6f9. Workflows still need maintainer approval. |
|
Confirmed the re-signed commit carries the same content, so the verification above still stands and does not need redoing: Identical tree SHA, identical parent. A git tree hash is a Merkle root over the whole source tree, so matching trees is proof of byte-identical content rather than evidence for it — stronger than re-diffing, and it means the three negative controls I ran against Checks have been approved and are running on the signed head. |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment Thanks for integrating Codecov - We've got you covered ☂️ |
|
Merged, thanks. All three runs passed on the signed head. In CI, For the record: the Verification Gate's first attempt failed on |
…#431) `record_and_read` used a unique pass name to avoid racing other tests, but `take_resets` clears the WHOLE process-global map. On a parallel test thread the clear can land between `record_and_read`'s writes and its read, which then sees `None`: assertion `left == right` failed left: None right: Some(3) It turned PR #428's Verification Gate red, on a PR that changes only a workflow file. Reproduced on main: 1 failure in 400 runs of `stats::tests --test-threads=8`. With both tests holding a shared test lock: 0 in 2000. The lock recovers from poison, so one failing test cannot cascade into the other. Claude-Session: https://claude.ai/code/session_01RZof1M5HMBSYVZPeoT4MEn Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Fixes #427
The integration step ignored every
loom optimizeerror with|| trueand treated missing output as a skip. This runs the command under strict shell error handling, writes its output into a fresh temporary directory, and requires a nonempty artifact. Optimizer failures and missing output now fail the step, and stale files on self-hosted runners cannot create a false pass.The CLI supports
.watinput directly, so the workflow does not need a runner-dependent skip.Validation:
cargo fmt --all -- --checkpassed.cargo test --allcould not complete on Windows becausez3-sysbindgen could not findlibclang.dll; the Linux CI suite should provide the full test result.Assisted by Codex.