Files
hermes-agent/tests/scripts
BearHuddleston 900e531596 test(release): cover the three commit-claim guards no test caught
Three guards from #158714 could each be removed with every test still
passing: the Windows stager's refusal of a symlink named like the MSIX,
the macOS stager's check that each blockmap has its package beside it,
and release_channel's refusal of a commit tag, which keeps a commit
claim's manifest from reading as stable in publish and promote.

The trust-boundary test now plants a symlink in place of a package
(Windows and macOS) and an orphan Other-…-mac-arm64.dmg.blockmap, and a
new pipeline test asserts that publish and promote refuse a commit tag.
With each guard removed in turn, the old tests pass (55) and exactly one
new case fails; with the guards in place all 59 pass.

Found by @unsupportedpastels on #158714, whose patch this is.

Co-authored-by: unsupportedpastels <274530371+unsupportedpastels@users.noreply.github.com>
2026-11-27 13:47:06 -06:00
..