Skip to content

fix(ci): pin rust 1.99.1 for the verifiable build and deploy workflows - #507

Merged
metapileks merged 1 commit into
developfrom
pileks/fix-verifiable-build-ci
Nov 24, 2026
Merged

metapileks merged 1 commit into
developfrom
pileks/fix-verifiable-build-ci

Conversation

@metapileks

@metapileks metapileks commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Verifiable builds were failing due to cache expiry and a subsequent compilation of solana-verify from source, but under a newer Rust version.
We pin the Rust version to what was used before here as a quick fix to re-enable verifiable builds.
Full fix will be posted once #500 lands, as it changes the toolchain being used.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge based on the reviewed changes.

Summary

Pins Rust 1.99.1 in both build workflows.

  • Verifiable build jobs install Rust 1.99.1 before creating artifacts.
  • Reusable program builds install Rust 1.99.1 before building.

No actionable issues were established.

Reviews (1) · Last reviewed commit: "fix(ci): pin rust 1.99.1 for the verifia..." · Reviewed by Greptile

@metapileks metapileks self-assigned this Nov 24, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Repository Guard

  • Cargo.lock: pass
  • yarn.lock (sdk): pass
  • yarn.lock (root): pass
  • Repo guard: pass

Repository Guard

Cargo dependency pinning

  • Status: pass
  • Every programs/*/Cargo.toml dep uses =x.y.z, a path = .. workspace ref, or a git dep with a 40-char rev.

Cross-program Anchor/Solana version consistency

  • Status: pass
  • anchor-lang and anchor-spl are pinned to the version declared in repo-guard.toml across every program.

solana-program crate pin

  • Status: pass
  • Every solana-program = "=X" declaration is =1.17.14 (locked to match Cargo.lock).

Anchor.toml solana_version

  • Status: pass
  • Anchor.toml declares solana_version = "1.17.34" (local-dev install for anchor test).

Crate minimum age

  • Status: pass
  • All Cargo deps changed by this PR are at least 14 days old on crates.io.

Yarn package.json pinning

  • Status: pass
  • All package.json deps use exact versions (no ^, ~, ranges).

npm minimum age

  • Status: pass
  • All npm deps changed by this PR are at least 14 days old.

Workflow toolchain consistency

  • Status: pass
  • Every workflow declares anchor-version: 0.29.0.
  • Per-file solana-cli-version values match [toolchain.workflow_solana_cli] in repo-guard.toml.

GitHub Action SHA pinning

  • Status: pass
  • Every third-party action is pinned to a SHA in [actions.sha_allowlist].

Sensitive program / config changes

  • Status: pass
  • No suspicious changes to program IDs, error enums, or sensitive files detected.

Overall status: pass

Lockfile freshness (Cargo.lock + yarn.lock) is checked by the workflow directly and cannot be bypassed. The sensitive-diff section is a review hint - CODEOWNERS handles the actual merge gate.

@metapileks
metapileks merged commit c895f5d into develop Nov 24, 2026
5 of 6 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