Skip to content

nightly: the canary's bundle check leaves out DIGEST's toolchain line - #252

Merged
rileyr merged 1 commit into
mainfrom
ci/canary-digest
Nov 21, 2026
Merged

rileyr merged 1 commit into
mainfrom
ci/canary-digest

Conversation

@rileyr

@rileyr rileyr commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

The first canary run on hale's nightly (nightly-2026-11-21, hale 0.37.1-nightly.20261121+2c48d2b) passed hale check --workspace, verify, build, test and hale api export --check, with the contract digest unchanged. It then failed on diff -r of a fresh export against api/bundle: the only difference was DIGEST's second line, hale <version>, which under any nightly differs from the pinned release.

The step now compares every bundle file except DIGEST byte for byte, and DIGEST without its hale line. 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

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 rileyr left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@rileyr
rileyr merged commit 01a40d4 into main Nov 21, 2026
13 checks passed
@rileyr
rileyr deleted the ci/canary-digest branch November 21, 2026 19:53
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