Commit 17cb3ff
committed
fix(ci): repair main CI (five8/wincode, anchor 1.0.2, asm pnpm)
Main was red across the Native, ASM, Pinocchio and Anchor workflows.
Native/Pinocchio/ASM dependency builds:
- solana-signature 3.3.0 (via the litesvm dev-dependency) pulled five8 1.0.0,
which is no_std and dropped DecodeError's Error impl, so host test builds
failed to compile. Pin the lockfile to solana-signature 3.4.1.
- 3.4.1 moved wincode to 0.5.x while solana-hash 4.2.0, solana-message 4.0.0
and solana-transaction 4.0.0 stayed on 0.4.x, splitting the graph across
two wincode versions. Bump those three (4.4.0 / 4.1.0 / 4.1.0) so the graph
resolves a single wincode 0.5.3.
Anchor:
- Programs were split across anchor-lang 1.0.0-rc.5 and 1.0.0 while the
workflow installed anchor-cli 0.32.1. Standardize all programs and the
workflow on anchor 1.0.2, and sync the two committed sub-workspace locks.
- Build with --ignore-keys and run anchor keys sync for the ephemeral
keypairs CI generates; run anchor test with --validator legacy since
surfpool (the Anchor 1.0 default) is not installed.
- cross-program-invocation: declare_program!(lever) bakes lever's IDL address
into hand at build time, so ephemeral keys broke the CPI owner check.
Commit stable hand/lever keypairs and align declare_id!, Anchor.toml and
idls/lever.json.
ASM:
- Pin pnpm to 10.33.0 (unpinned latest fails CI with ERR_PNPM_IGNORED_BUILDS)
and mark bufferutil/utf-8-validate as ignoredBuiltDependencies.
CI hardening:
- Force the sparse registry protocol, raise CARGO_NET_RETRY and retry anchor
build to ride out transient crates.io index fetch failures.
- Trigger the native/pinocchio/asm workflows on root Cargo.lock/Cargo.toml
changes so dependency bumps actually exercise them (this gap is why the
dependabot solana-* bumps broke main without being caught).
Ignore basics/favorites/native: pre-existing failure where bankrun's runtime
rejects an instruction the current build-sbf toolchain emits; tracked for a
bankrun -> litesvm test migration.1 parent b166e57 commit 17cb3ff
68 files changed
Lines changed: 274 additions & 243 deletions
File tree
- .github
- workflows
- basics
- account-data/anchor/programs/anchor-program-example
- checking-accounts
- anchor/programs/anchor-program-example
- asm
- close-account/anchor/programs/close-account
- counter/anchor/programs/counter_anchor
- create-account
- anchor/programs/create-system-account
- asm
- cross-program-invocation/anchor
- idls
- programs
- hand
- src
- lever
- src
- target/deploy
- favorites/anchor/programs/favorites
- hello-solana
- anchor/programs/hello-solana
- asm
- pda-rent-payer/anchor/programs/anchor-program-example
- processing-instructions/anchor/programs/processing-instructions
- program-derived-addresses/anchor/programs/anchor-program-example
- realloc/anchor/programs/anchor-realloc
- rent/anchor/programs/rent-example
- repository-layout/anchor/programs/carnival
- transfer-sol
- anchor/programs/transfer-sol
- asm
- compression
- cnft-burn/anchor/programs/cnft-burn
- cnft-vault/anchor/programs/cnft-vault
- cutils/anchor/programs/cutils
- oracles/pyth/anchor/programs/pythexample
- tokens
- create-token/anchor/programs/create-token
- escrow/anchor/programs/escrow
- external-delegate-token-master/anchor/programs/external-delegate-token-master
- nft-minter/anchor/programs/nft-minter
- nft-operations/anchor
- programs/mint-nft
- pda-mint-authority/anchor/programs/token-minter
- spl-token-minter/anchor/programs/spl-token-minter
- token-2022
- basics/anchor/programs/basics
- cpi-guard/anchor/programs/cpi-guard
- default-account-state/anchor/programs/default-account-state
- group/anchor/programs/group
- immutable-owner/anchor/programs/immutable-owner
- interest-bearing/anchor/programs/interest-bearing
- memo-transfer/anchor/programs/memo-transfer
- metadata/anchor/programs/metadata
- mint-close-authority/anchor/programs/mint-close-authority
- nft-meta-data-pointer/anchor-example/anchor/programs/extension_nft
- non-transferable/anchor/programs/non-transferable
- permanent-delegate/anchor/programs/permanent-delegate
- transfer-fee/anchor/programs/transfer-fee
- transfer-hook
- account-data-as-seed/anchor/programs/transfer-hook
- allow-block-list-token/anchor/programs/abl-token
- counter/anchor/programs/transfer-hook
- hello-world/anchor/programs/transfer-hook
- transfer-cost/anchor/programs/transfer-hook
- transfer-switch/anchor/programs/transfer-switch
- whitelist/anchor/programs/transfer-hook
- token-fundraiser/anchor
- programs/fundraiser
- token-swap/anchor/programs/token-swap
- transfer-tokens/anchor/programs/transfer-tokens
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
112 | | - | |
| 116 | + | |
113 | 117 | | |
114 | 118 | | |
115 | 119 | | |
| |||
137 | 141 | | |
138 | 142 | | |
139 | 143 | | |
140 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
141 | 156 | | |
142 | 157 | | |
143 | 158 | | |
144 | 159 | | |
145 | 160 | | |
146 | 161 | | |
147 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
148 | 166 | | |
149 | | - | |
| 167 | + | |
| 168 | + | |
150 | 169 | | |
151 | 170 | | |
152 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| 44 | + | |
| 45 | + | |
40 | 46 | | |
41 | 47 | | |
42 | 48 | | |
| |||
180 | 186 | | |
181 | 187 | | |
182 | 188 | | |
183 | | - | |
184 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
185 | 192 | | |
186 | 193 | | |
187 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
39 | 43 | | |
40 | 44 | | |
41 | 45 | | |
| 46 | + | |
| 47 | + | |
42 | 48 | | |
43 | 49 | | |
44 | 50 | | |
| |||
0 commit comments