Repository navigation
nightly: the canary's bundle check leaves out DIGEST's toolchain line - #252
Merged
Merged
Conversation
DIGEST records the hale that wrote the bundle (`hale <version>`). Under hale's nightly that is `hale 0.37.1-nightly.…`, never the release voice pins, so the check failed every night with nothing wrong: the first run on hale's nightly passed check, verify, build, test and `api export --check` (the contract digest unchanged) and differed only there. Every other byte of the bundle is still compared. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Siy299kiTLRCUx8mGmhC7L
rileyr
commented
Nov 21, 2026
rileyr
left a comment
Contributor
Author
There was a problem hiding this comment.
Reviewed hale-lang/voice PR #252 at 31cea33a8810bd49852521db7941f5086b6294c1.
No blocking findings. The committed bundle contains five surface files and a root DIGEST with a contract hash line and a hale <version> line. The new comparison still checks the surface files byte for byte and checks the digest after removing only the toolchain-version line. I ran the export, --check, and both comparison commands on this exact head with the pinned Hale 0.37.0 toolchain; they passed.
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.
The first canary run on hale's nightly (
nightly-2026-11-21,hale 0.37.1-nightly.20261121+2c48d2b) passedhale check --workspace,verify,build,testandhale api export --check, with the contract digest unchanged. It then failed ondiff -rof a fresh export againstapi/bundle: the only difference wasDIGEST's second line,hale <version>, which under any nightly differs from the pinned release.The step now compares every bundle file except
DIGESTbyte for byte, andDIGESTwithout itshaleline. A real change to the surface still fails it.Workflow-only change. The pull-request run exercises this step on voice's pinned hale.
🤖 Generated with Claude Code