Commit 9246c28
committed
feat(external-tools): SRI integrity migration + pnpm 11.0.6 + Node 26
Three coordinated changes that ship together because they cross the
same data:
1. **Schema migration**: every `sha256` field in external-tools.json
becomes `integrity` carrying a Subresource Integrity string
(`<algo>-<base64>`). Same encoding as npm's package-lock.json,
same encoding upstream registries publish, generalizes to sha384
and sha512 without schema churn. install-tool.mjs parses the
algorithm from the SRI prefix and runs the matching createHash().
Bare 64-char hex is still accepted for backward compat (deprecated
path, will be removed once all consumer call sites are migrated).
2. **pnpm 11.0.6 bump** with darwin-x64 split-path: 7 platforms get
their new sha256-base64 SRIs from the GitHub release artifacts.
darwin-x64 takes a different shape — the upstream pnpm SEA binary
was dropped in 11.0.5 (nodejs/node#62893: LIEF/Mach-O bug Node has
declined to fix), so Intel Mac instead pulls the npm-registry JS
tarball and runs it through the system Node. Adds new fields
`source: "npm-registry"` + `binary: "package/dist/pnpm.cjs"` and a
sha512 SRI from `npm view pnpm@11.0.6 dist.integrity`. The setup
action's pnpm install step branches on `source` to pick the
download URL and (for npm-registry) write a `node` wrapper at
$PNPM_DIR/pnpm.
3. **Node default 25.9.0 → 26.0.0** in setup + setup-and-install
composite actions, matching the upstream Node 26.0.0 GA.
The migration is fleet-wide; consumers reading external-tools.json
need to switch from `.sha256` to `.integrity` JSON paths in the same
PR window. Drift watch (template/CLAUDE.md) applies.1 parent f3edacb commit 9246c28
5 files changed
Lines changed: 133 additions & 65 deletions
File tree
- .github/actions
- checkout
- lib
- setup-and-install
- setup
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
12 | 22 | | |
13 | 23 | | |
14 | 24 | | |
15 | | - | |
| 25 | + | |
16 | 26 | | |
17 | 27 | | |
18 | 28 | | |
| |||
21 | 31 | | |
22 | 32 | | |
23 | 33 | | |
24 | | - | |
| 34 | + | |
25 | 35 | | |
26 | 36 | | |
27 | 37 | | |
28 | 38 | | |
29 | 39 | | |
30 | 40 | | |
31 | 41 | | |
32 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
33 | 50 | | |
34 | | - | |
35 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
36 | 69 | | |
37 | 70 | | |
38 | 71 | | |
| 72 | + | |
| 73 | + | |
39 | 74 | | |
40 | 75 | | |
41 | 76 | | |
| |||
52 | 87 | | |
53 | 88 | | |
54 | 89 | | |
55 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
56 | 93 | | |
57 | 94 | | |
58 | 95 | | |
59 | 96 | | |
60 | | - | |
| 97 | + | |
61 | 98 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
66 | 107 | | |
67 | 108 | | |
68 | 109 | | |
| |||
72 | 113 | | |
73 | 114 | | |
74 | 115 | | |
75 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
76 | 120 | | |
77 | 121 | | |
78 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
85 | 92 | | |
86 | 93 | | |
87 | | - | |
| 94 | + | |
88 | 95 | | |
89 | 96 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
94 | 115 | | |
95 | 116 | | |
96 | 117 | | |
| |||
101 | 122 | | |
102 | 123 | | |
103 | 124 | | |
104 | | - | |
| 125 | + | |
105 | 126 | | |
106 | 127 | | |
107 | 128 | | |
| |||
132 | 153 | | |
133 | 154 | | |
134 | 155 | | |
135 | | - | |
| 156 | + | |
136 | 157 | | |
137 | 158 | | |
138 | | - | |
139 | | - | |
140 | | - | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
141 | 162 | | |
142 | 163 | | |
143 | 164 | | |
| |||
163 | 184 | | |
164 | 185 | | |
165 | 186 | | |
166 | | - | |
| 187 | + | |
167 | 188 | | |
168 | 189 | | |
169 | 190 | | |
| |||
173 | 194 | | |
174 | 195 | | |
175 | 196 | | |
176 | | - | |
| 197 | + | |
177 | 198 | | |
178 | 199 | | |
179 | 200 | | |
| |||
192 | 213 | | |
193 | 214 | | |
194 | 215 | | |
195 | | - | |
| 216 | + | |
196 | 217 | | |
197 | 218 | | |
198 | 219 | | |
| |||
0 commit comments