ci: drop mount-path for devnet verify build#75
Merged
Conversation
solana-verify expects Cargo.lock at the mount-path it builds from. We were passing `mount-path: program`, but the workspace Cargo.lock lives at the repo root, so the verifier failed pre-flight with: Mount directory must contain a Cargo.lock file Error: Error verifying program: Missing Cargo.lock file at '/tmp/solana-verify/<id>/subscriptions/program/Cargo.lock' Drop the mount-path input so solana-verify uses the repo root (where the workspace Cargo.lock lives) and resolves the program via `--library-name subscriptions`. This matches how the earlier `Build verified program` step invokes solana-verify.
Compute Unit Report
Generated: 2026-04-30 |
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.
Summary
mount-path: programfrom the devnetverify-buildstep.Root Cause
solana-verifyexpects aCargo.lockat the directory it mounts/builds. Withmount-path: programit looked forprogram/Cargo.lock, which does not exist — the workspaceCargo.locklives at the repo root. Pre-flight failed with:Dropping
mount-pathlets solana-verify use the repo root and resolve the program via--library-name subscriptions, matching how the earlierBuild verified programstep invokes solana-verify.Test Plan
Releaseworkflow againstdevnetfrom this branch.Verify build (devnet)clears pre-flight, builds, and writes the verification PDA.Failing run for reference: https://github.com/solana-program/subscriptions/actions/runs/25183322572