Skip to content

ci: float blvm-spec-lock install (drop 0.1.45 pin) - #45

Draft
secsovereign wants to merge 1 commit into
mainfrom
ci/spec-lock-floating-node
Draft

secsovereign wants to merge 1 commit into
mainfrom
ci/spec-lock-floating-node

Conversation

@secsovereign

Copy link
Copy Markdown
Member

What

Restore a floating blvm-spec-lock install in the Verify job:

cargo install --force blvm-spec-lock --version '>=0.1, <1' --locked --features z3

That is the same constraint blvm-protocol already 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-drift was 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 installs cargo-spec-lock, then runs cargo-spec-lock verify twice: first on the latest crates.io blvm-consensus, then on the blvm-node tree (--crate-path .).

90f890f removed the optional blvm-spec-lock dependency 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(...))]. The spec-lock feature is listed only in unexpected_cfgs, not under [features], so rustc compiles those attributes out.

That does not make the job a no-op. cargo-spec-lock verify unwraps cfg_attr(..., spec_locked(...)) from source, independent of whether the crate depends on blvm-spec-lock. On current main (36bb40c), the pinned 0.1.45 Verify job (Actions run 43238774145, 2026-11-12) used crates.io blvm-consensus 0.1.82, reported consensus=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, and handle_version_received. calculate_checksum was PARTIAL (0 of 1 verified); the job still exited 0.

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.
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