Repository navigation
ci: float blvm-spec-lock install (drop 0.1.45 pin) - #45
Draft
secsovereign wants to merge 1 commit into
Draft
secsovereign wants to merge 1 commit into
secsovereign wants to merge 1 commit into
Conversation
Restore the same '>=0.1, <1' cargo install used by blvm-protocol so the Verify job always installs the latest 0.x cargo-spec-lock.
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.
What
Restore a floating
blvm-spec-lockinstall in the Verify job:That is the same constraint
blvm-protocolalready uses. The 0.1.45 pin was added in 23ff249.Merge only after blvm-spec-lock#6 is merged and released. The 0.1.45 pin was a temporary hold until
check-driftwas fixed. Until that release is on crates.io, a floating install will pick the current latest 0.x (0.1.54 as of this PR).What the Verify job checks today (after 90f890f)
The job does not run
check-drift. It installscargo-spec-lock, then runscargo-spec-lock verifytwice: first on the latest crates.ioblvm-consensus, then on theblvm-nodetree (--crate-path .).90f890f removed the optional
blvm-spec-lockdependency and the feature edges that pulled it in. The eight#[spec_locked]sites are still in source, wrapped as#[cfg_attr(feature = "spec-lock", spec_locked(...))]. Thespec-lockfeature is listed only inunexpected_cfgs, not under[features], so rustc compiles those attributes out.That does not make the job a no-op.
cargo-spec-lock verifyunwrapscfg_attr(..., spec_locked(...))from source, independent of whether the crate depends onblvm-spec-lock. On currentmain(36bb40c), the pinned 0.1.45 Verify job (Actions run 43238774145, 2026-11-12) used crates.ioblvm-consensus0.1.82, reportedconsensus=281 node=288 total=569, and passed. The node pass still listed all eight annotated functions:advance_stem,get_phase,should_fluff,start_stem_phase,transition_to_fluff,calculate_checksum,parse_message, andhandle_version_received.calculate_checksumwas PARTIAL (0 of 1 verified); the job still exited 0.