Skip to content

Install snapshot metadata verification prerequisites - #98

Merged
lukebuehler merged 1 commit into
mainfrom
fix/snapshot-metadata-toolchain
Sep 14, 2026
Merged

lukebuehler merged 1 commit into
mainfrom
fix/snapshot-metadata-toolchain

Conversation

@lukebuehler

Copy link
Copy Markdown
Contributor

The main snapshot failed during metadata verification with spawnSync cargo ENOENT. Version verification now invokes Cargo, but the snapshot host previously relied on Docker for its Rust toolchain. PR and main CI already installed Rust, so they passed while snapshot packaging failed before artifact staging.

Install Rust from LIGHTSPEED_RELEASE_RUST_VERSION and Node 24 before the check, then run cargo fetch --locked. This supplies both the executable and registry metadata needed by the verifier's offline locked resolution, including on a runner without a previous job's cache. Artifact compilation still uses the pinned Docker build environment.

Validation:

  • cargo fetch --locked followed by scripts/release/verify-metadata.sh passed with an isolated, initially empty CARGO_HOME.
  • Snapshot workflow YAML and embedded shell syntax passed.
  • git diff --check passed.

This fixes snapshot setup. It does not move the existing v0.3.0 tag.

@lukebuehler
lukebuehler enabled auto-merge (squash) September 14, 2026 11:34
@lukebuehler
lukebuehler merged commit 716806d into main Sep 14, 2026
5 checks passed
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