Commit e90f11f
Edward (Mike's sidekick)
ci: pin solana-cli-version to 3.1.10 in all workflows
heyAyushh/setup-solana@v5.9 (used directly in native/pinocchio/quasar
and transitively via heyAyushh/setup-anchor@v4.999 in anchor.yml) has
an intermittently broken 'stable' resolver. When the upstream
STABLE_CHANNEL_LATEST_TAG env var is unset/empty in a given run, the
action logs 'Using Solana CLI version ' (no version) and then curls
https://release.anza.xyz/v/install, which returns HTTP 404 and fails
the job. Recent main-branch CI run 25696483414 (Anchor) is a concrete
example.
The action is already at its latest tag (v4.999 / v5.9 follow a
non-standard '4.99X / 5.X' floating-tag scheme where higher = newer)
and the maintainer's most recent commit message is literally 'bumped
action because of solana stable' — i.e. upstream is aware of the
brittleness but consumers still get 'stable' as the de facto default.
Pinning a concrete version is the only defensive answer available to
us.
3.1.10 is the Solana CLI version recommended by Anchor 1.0.0's release
notes and pinned by Anchor's own CI from 1.0.0-rc.5 onward (see the
Anchor CHANGELOG). It is also compatible with our anchor-version:
1.0.0 pin. The non-anchor frameworks are pinned to the same value to
keep the CI matrix consistent.
The 'beta' steps in native.yml and pinocchio.yml are intentionally
left floating: they are the channel-tracking jobs and are already
marked continue-on-error with a comment explaining the upstream beta
404 behaviour.
A separate issue will be filed upstream at heyAyushh/setup-solana
documenting the empty-version resolver bug.
Bump in lockstep with anchor-version when upgrading Anchor.1 parent 68fa7ea commit e90f11f
4 files changed
Lines changed: 35 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
142 | 149 | | |
143 | 150 | | |
144 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
226 | 235 | | |
227 | 236 | | |
228 | 237 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
201 | 207 | | |
202 | 208 | | |
203 | 209 | | |
| |||
0 commit comments