feat: add dual-compression (zstd:chunked) to buildah task#3682
Conversation
|
🤖 Finished Review · ✅ Success · Started 6:43 AM UTC · Completed 6:53 AM UTC |
Review — commentPR: feat: add dual-compression (zstd:chunked) to buildah task SummaryThis is a well-structured feature addition. The design is clean: default behavior is preserved ( The findings below are non-blocking observations for a feature correctly labeled as "tech preview." Findings1. [medium] No test coverage for dual-compression logicCategory: test-adequacy The dual-mode code path has significant complexity — two pushes, manifest index creation, index push (twice), three SBOM generations, three signings, and three SBOM uploads. No e2e or integration tests cover For tech preview this is acceptable, but before promoting to GA, at minimum a happy-path e2e test for dual mode should validate that: (a) the per-arch index resolves correctly, (b) both child manifests are pullable, and (c) SBOMs are attached to all three refs. 2. [medium]
|
3f0ec33 to
b3756b9
Compare
|
🤖 Finished Review · ✅ Success · Started 7:03 AM UTC · Completed 7:12 AM UTC |
b3756b9 to
cb865b2
Compare
|
🤖 Finished Review · ✅ Success · Started 7:18 AM UTC · Completed 7:27 AM UTC |
cb865b2 to
f6fb1c0
Compare
|
🤖 Finished Review · ✅ Success · Started 8:00 AM UTC · Completed 8:10 AM UTC |
f6fb1c0 to
fd7eda8
Compare
|
🤖 Finished Review · ✅ Success · Started 10:31 AM UTC · Completed 10:39 AM UTC |
fd7eda8 to
9089f9d
Compare
|
🤖 Finished Review · ✅ Success · Started 3:43 PM UTC · Completed 3:58 PM UTC |
9089f9d to
e11759a
Compare
|
🤖 Review · ❌ Terminated · Started 5:08 PM UTC · Ended 5:15 PM UTC |
e11759a to
4de4f3d
Compare
|
🤖 Finished Review · ✅ Success · Started 5:27 PM UTC · Completed 5:35 PM UTC |
4de4f3d to
1650ac3
Compare
|
🤖 Finished Review · ✅ Success · Started 6:00 PM UTC · Completed 6:13 PM UTC |
1650ac3 to
bb077d9
Compare
|
🤖 Finished Review · ✅ Success · Started 7:17 PM UTC · Completed 7:26 PM UTC |
|
🤖 Finished Review · ✅ Success · Started 8:28 PM UTC · Completed 8:39 PM UTC |
bb077d9 to
2adcd13
Compare
Add COMPRESSION_FORMAT (gzip|zstd-chunked|dual) and FORCE_COMPRESSION params. In dual mode, push gzip and zstd:chunked variants bundled in a per-arch OCI index (gzip first). The IMAGES result exposes both child manifest refs for Chains provenance. SBOM generation, signing, and SBOM attachment run for each variant. Default stays gzip; dual requires BUILDAH_FORMAT=oci. Ref konflux-ci#1264 Ref https://github.com/konflux-ci/architecture/blob/main/ADR/0070-dual-compression-for-container-builds.md Signed-off-by: Amanyd <amaninsane139@gmail.com>
c3b722a to
c6d7fea
Compare
|
Ready to review |
Add COMPRESSION_FORMAT (gzip|zstd-chunked|dual) and FORCE_COMPRESSION params. In dual mode, push gzip and zstd:chunked variants bundled in a per-arch OCI index (gzip first). The IMAGES result exposes both child manifest refs for Chains provenance. SBOM generation, signing, and SBOM attachment run for each variant.
Default stays gzip; dual requires BUILDAH_FORMAT=oci.
Ref: #1264
Ref: https://github.com/konflux-ci/architecture/blob/main/ADR/0070-dual-compression-for-container-builds.md