Skip to content

ci: rebuild inside cloned repo for devnet verify#74

Merged
dev-jodee merged 1 commit intomainfrom
ci/devnet-verify-no-skip-build
Apr 30, 2026
Merged

ci: rebuild inside cloned repo for devnet verify#74
dev-jodee merged 1 commit intomainfrom
ci/devnet-verify-no-skip-build

Conversation

@dev-jodee
Copy link
Copy Markdown
Collaborator

Summary

  • Set skip-build: 'false' for the devnet verify-build step so solana-verify performs its own Docker build inside the freshly cloned repo before uploading the verification PDA.

Root Cause

solana-verify verify-from-repo always re-clones the target repo into /tmp/solana-verify/<uuid>/.... With --skip-build the upload step expects the .so to already exist in that clone, but our Build verified program step writes artifacts to the workflow workspace (/home/runner/work/...), not the clone. The upload then failed with:

Skipping local build and writing verify data on chain
Uploading the program verification params to the Solana blockchain...
Error: No such file or directory (os error 2)

Letting solana-verify do its own Docker build inside the cloned repo costs a few extra minutes but makes the verification PDA upload work.

Test Plan

  • Trigger Release workflow against devnet from this branch.
  • Confirm Verify build (devnet) succeeds and a verification PDA is written for De1egAFMkMWZSN5rYXRj9CAdheBamobVNubTsi9avR44.

Failing run for reference: https://github.com/solana-program/subscriptions/actions/runs/25182511963

solana-verify verify-from-repo always re-clones the repo into a fresh
temp directory; with --skip-build it expects the .so to already exist in
that clone, which it never does (build-verified writes target/ in the
workflow workspace, not the clone). The result was:

  Skipping local build and writing verify data on chain
  Uploading the program verification params to the Solana blockchain...
  Error: No such file or directory (os error 2)

Set skip-build: 'false' so solana-verify performs its own Docker build
inside the cloned repo before uploading the verification PDA. Adds a few
minutes to the devnet release but makes the step actually work.
@dev-jodee dev-jodee merged commit 43898dd into main Apr 30, 2026
8 checks passed
@dev-jodee dev-jodee deleted the ci/devnet-verify-no-skip-build branch April 30, 2026 18:47
@github-actions
Copy link
Copy Markdown

Compute Unit Report

Instruction Samples Min CUs Max CUs Avg CUs Est Cost (Low) [SOL] Est Cost (Med) [SOL] Est Cost (High) [SOL]
cancel_subscription 11 1805 2118 2003 0.000005000 0.000005080 0.000006001
close_subscription_authority 7 1881 1916 1886 0.000005000 0.000005075 0.000005943
create_fixed_delegation 38 3621 12621 4913 0.000005001 0.000005196 0.000007456
create_plan 84 3540 15553 5204 0.000005001 0.000005208 0.000007602
create_recurring_delegation 27 3640 8145 4535 0.000005001 0.000005181 0.000007267
delete_plan 8 416 416 416 0.000005000 0.000005016 0.000005208
init_subscription_authority 142 7431 25873 12374 0.000005003 0.000005494 0.000011187
revoke_delegation 19 318 585 420 0.000005000 0.000005016 0.000005210
subscribe 21 6666 11190 8176 0.000005002 0.000005327 0.000009088
transfer_fixed 6 11602 14605 13104 0.000005003 0.000005524 0.000011552
transfer_recurring 17 10212 13303 11214 0.000005003 0.000005448 0.000010607
transfer_subscription 10 10495 13498 11250 0.000005003 0.000005450 0.000010625
update_plan 21 424 500 474 0.000005000 0.000005018 0.000005237

Generated: 2026-04-30

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