Commit 012eb62
committed
refactor(api): remove deprecated attestation and bundle fields from Store
Closes #3055
The AttestationServiceStoreRequest previously carried three representations
of the same payload: the raw DSSE envelope, the original Sigstore bundle
(with the signature bug from #1832), and the fixed attestation bundle. Only
attestation_bundle is consumed today; the other two have been deprecated
since June 2025 and the fixed bundle has been available since February 2025.
This removes the deprecated fields and their fallback paths in the CLI,
controlplane service/biz/data layers, and the attestation helper package,
cutting the gRPC request size by ~3x for the same logical payload.
Signed-off-by: Miguel Martinez Trivino <miguel@chainloop.dev>1 parent 433d7b2 commit 012eb62
13 files changed
Lines changed: 78 additions & 244 deletions
File tree
- app
- cli/pkg/action
- controlplane
- api
- controlplane/v1
- gen
- frontend/controlplane/v1
- jsonschema
- internal/service
- pkg
- biz
- mocks
- data
- pkg/attestation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
266 | | - | |
| 266 | + | |
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
| |||
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
| 306 | + | |
320 | 307 | | |
321 | 308 | | |
322 | | - | |
| 309 | + | |
323 | 310 | | |
324 | 311 | | |
325 | 312 | | |
326 | 313 | | |
327 | | - | |
| 314 | + | |
328 | 315 | | |
329 | | - | |
330 | | - | |
331 | | - | |
| 316 | + | |
332 | 317 | | |
333 | 318 | | |
334 | 319 | | |
| |||
339 | 324 | | |
340 | 325 | | |
341 | 326 | | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | 327 | | |
347 | 328 | | |
348 | 329 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 160 | | |
165 | 161 | | |
166 | 162 | | |
167 | 163 | | |
168 | 164 | | |
169 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
170 | 169 | | |
171 | 170 | | |
172 | 171 | | |
| |||
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
app/controlplane/api/gen/jsonschema/controlplane.v1.AttestationServiceStoreRequest.jsonschema.json
Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 248 | + | |
253 | 249 | | |
254 | 250 | | |
255 | 251 | | |
| |||
274 | 270 | | |
275 | 271 | | |
276 | 272 | | |
277 | | - | |
| 273 | + | |
278 | 274 | | |
279 | 275 | | |
280 | 276 | | |
| |||
284 | 280 | | |
285 | 281 | | |
286 | 282 | | |
287 | | - | |
288 | | - | |
| 283 | + | |
| 284 | + | |
289 | 285 | | |
290 | 286 | | |
291 | 287 | | |
292 | 288 | | |
293 | | - | |
| 289 | + | |
294 | 290 | | |
295 | 291 | | |
296 | 292 | | |
297 | 293 | | |
298 | 294 | | |
299 | | - | |
| 295 | + | |
300 | 296 | | |
301 | 297 | | |
302 | 298 | | |
| |||
315 | 311 | | |
316 | 312 | | |
317 | 313 | | |
318 | | - | |
319 | | - | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | 314 | | |
324 | 315 | | |
325 | | - | |
326 | | - | |
| 316 | + | |
327 | 317 | | |
328 | 318 | | |
329 | 319 | | |
| |||
0 commit comments