Skip to content

Commit 3fe6d97

Browse files
authored
ci: pin sbpf and Solana versions in ASM workflow (#625)
* ci: pin sbpf and Solana versions in ASM workflow The ASM build-and-test job installs sbpf from the git tip and Solana from the floating "stable" channel, both unpinned. Around 2026-06-29 sbpf moved 0.1.9 -> 0.2.2 and Solana stable moved 4.0.3 -> 4.1.1; the new sbpf emits an sBPF binary the runtime loader rejects at execution ("Program is not deployed"), failing every ASM example (checking-accounts, create-account, hello-solana, transfer-sol, ...). Pin sbpf to 0223df0e (v0.1.9) and Solana stable to 4.0.3 -- the exact last-green combination -- to restore the ASM workflow. The beta leg is left unpinned since it is continue-on-error and intentionally tracks the moving channel. * ci: use full 40-char SHA for sbpf pin Expand the sbpf --rev from the 8-char short SHA to the full 40-char SHA (0223df0e7ba622d4956b4ecf3cf2397f6945b76b) for an explicit, unambiguous immutable reference, per review feedback. --------- Co-authored-by: MarkFeder <5670736+MarkFeder@users.noreply.github.com>
1 parent e9387b9 commit 3fe6d97

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

‎.github/workflows/solana-asm.yml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,19 @@ jobs:
190190
# latest pnpm fails CI with ERR_PNPM_IGNORED_BUILDS)
191191
npm install --global pnpm@10.33.0
192192
193-
# Install sbpf assembler
194-
cargo install --git https://github.com/blueshift-gg/sbpf.git
193+
# Install sbpf assembler. Pinned to v0.1.9 (0223df0e): the unpinned
194+
# tip moved to v0.2.2, which emits an sBPF binary the runtime loader
195+
# rejects at execution ("Program is not deployed"), breaking every ASM
196+
# example. Keep in sync with the pinned Solana version below.
197+
cargo install --git https://github.com/blueshift-gg/sbpf.git --rev 0223df0e7ba622d4956b4ecf3cf2397f6945b76b
195198
- name: Setup Solana Stable
196199
uses: heyAyushh/setup-solana@v5.9
197200
with:
198-
solana-cli-version: stable
201+
# Pinned to 4.0.3, the last version the ASM examples passed on (paired
202+
# with sbpf v0.1.9 above). Floating "stable" moved to 4.1.1 in the same
203+
# window the toolchain broke. The beta leg below stays unpinned on
204+
# purpose (it is continue-on-error and tracks the moving channel).
205+
solana-cli-version: 4.0.3
199206
- name: Build and Test with Stable
200207
run: |
201208
source build_and_test.sh

0 commit comments

Comments
 (0)