Commit 036b071
committed
Preserve verified artifact chain-of-custody in release pipeline (#207)
Expand #207 beyond Discussions to bring the release pipeline into structural
alignment with the rest of the WAMP group: build once, upload-verified,
download-verified, publish the same bytes.
Previously main.yml uploaded a verified package artifact that nothing ever
downloaded (orphaned chain-of-custody), and release.yml rebuilt the wheel,
sdist and docs from source — so the published bytes were not the ones tested.
main.yml:
- build-package: drop the redundant 3x interpreter matrix (the universal
py3-none-any wheel is identical across interpreters) and build the full
release fileset once — wheel AND source distribution — uploaded verified
as `package`. (The documentation job already uploads the built HTML as a
verified `documentation` artifact.)
release.yml (both the nightly and the stable/PyPI jobs):
- Replace the inline rebuilds (just build / build-sourcedist / docs) with
download-artifact-verified of `package` and `documentation` from the
triggering main run (run id from check-main-workflow.main_run_id), then
archive the downloaded docs and publish those exact artifacts. The PyPI
job still runs check-release-fileset on the verified payload.
download-artifact-verified prefix-matches the meta-checksum-suffixed names,
so `name: package` / `name: documentation` resolve without a discovery job.
Verified locally: both workflows parse as valid YAML; `just build` +
`just build-sourcedist` produce exactly the wheel + sdist that the release
now downloads; no `just build*`/`just docs` remain in release.yml. The
cross-run download path is release-event-only and will be exercised at the
next nightly/stable release.
Note: This work was completed with AI assistance (Claude Code).1 parent 29d6487 commit 036b071
3 files changed
Lines changed: 52 additions & 86 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | 185 | | |
190 | 186 | | |
191 | 187 | | |
| |||
219 | 215 | | |
220 | 216 | | |
221 | 217 | | |
222 | | - | |
| 218 | + | |
223 | 219 | | |
224 | 220 | | |
225 | | - | |
226 | 221 | | |
227 | 222 | | |
228 | 223 | | |
229 | 224 | | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
238 | | - | |
| 239 | + | |
239 | 240 | | |
240 | 241 | | |
241 | | - | |
| 242 | + | |
242 | 243 | | |
243 | 244 | | |
244 | | - | |
| 245 | + | |
245 | 246 | | |
246 | 247 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
133 | 120 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
144 | 125 | | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
150 | 133 | | |
151 | 134 | | |
152 | 135 | | |
153 | | - | |
154 | | - | |
155 | | - | |
| 136 | + | |
156 | 137 | | |
157 | 138 | | |
158 | 139 | | |
159 | 140 | | |
| 141 | + | |
160 | 142 | | |
161 | 143 | | |
162 | 144 | | |
163 | | - | |
| 145 | + | |
164 | 146 | | |
165 | | - | |
| 147 | + | |
166 | 148 | | |
167 | 149 | | |
168 | 150 | | |
| |||
229 | 211 | | |
230 | 212 | | |
231 | 213 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
249 | 218 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
257 | 223 | | |
258 | | - | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | | - | |
263 | | - | |
264 | | - | |
265 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
266 | 231 | | |
267 | 232 | | |
268 | 233 | | |
269 | | - | |
270 | | - | |
271 | | - | |
| 234 | + | |
272 | 235 | | |
273 | 236 | | |
274 | 237 | | |
275 | 238 | | |
| 239 | + | |
276 | 240 | | |
277 | 241 | | |
278 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
0 commit comments