Let the client answer for its own version #62
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "version-probe"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The first release through the lane got further than expected and then failed
where it should have.
v0.2.0-beta.1published cleanly: all three target archives built on their ownrunners, the skill archive was attached, both managers were generated, and the
exact seal is served from the authority bound to commit
3791074. Publication,public readback and verification all passed.
Smoke then failed on every platform. A generated manager stages the binary and
runs
<binary> --version, comparing the answer against<name> v<version>.The client declared
disable_version_flag = true, so it printed its usage tostderr and the probe read an empty string:
Reproduced locally by fetching the published manager and installing the beta
into isolated paths, which is what smoke does.
The fix cannot read
CARGO_PKG_VERSIONalone: the release builds atv0.2.0-beta.1while the manifest still says0.2.0.plumb::version!readsthe stamp the release build supplies and falls back to the manifest otherwise.
That is why
crates/clinow depends on Plumb — the same dependency thecredential cascade will need.
Both halves verified: an ordinary build answers
ensign v0.2.0, and a buildcarrying
ENSIGN_BUILD_VERSIONanswers with the stamped version.Guard is clean on the committed state, including all six acts.