fix: accept the locked Zarf init source archive #132

Merged
gitchegumi merged 2 commits from kiyi/gitch-init-source-size into main 2026-10-19 00:18:35 -05:00
Member

Platform run 5105 passed its source scan and all four signed-image checks, then stopped before custom init package creation. The locked Zarf 0.86.0 source archive is 104,503,102 bytes, but the new downloader rejected everything above 64 MiB. Replaying the old helper against the checksum-verified archive reproduces that failure.

Match the streaming download bound to the exact reviewed archive length and reject truncated downloads. Keep the source SHA-256 pin, verified HTTPS, redirect rejection and extraction limits intact. Add public progress messages for download and chart preparation so these stages can be distinguished without exposing private command output.

Validation: 21 focused init, signed-image and Core-workflow tests pass; the actual locked archive passes download and chart preparation with the fix; fatal/undefined-name lint, diff checks and the required native Gitleaks hook pass. No local container/package build or cluster deployment was run.

After merge, publish/promote the workflow fix to stable-v1, then retry Homelab/platform core-delivery.yml on main with operation verify-only. No Platform code, image release, OpenBao value or credential change is required.

Platform run 5105 passed its source scan and all four signed-image checks, then stopped before custom init package creation. The locked Zarf 0.86.0 source archive is 104,503,102 bytes, but the new downloader rejected everything above 64 MiB. Replaying the old helper against the checksum-verified archive reproduces that failure. Match the streaming download bound to the exact reviewed archive length and reject truncated downloads. Keep the source SHA-256 pin, verified HTTPS, redirect rejection and extraction limits intact. Add public progress messages for download and chart preparation so these stages can be distinguished without exposing private command output. Validation: 21 focused init, signed-image and Core-workflow tests pass; the actual locked archive passes download and chart preparation with the fix; fatal/undefined-name lint, diff checks and the required native Gitleaks hook pass. No local container/package build or cluster deployment was run. After merge, publish/promote the workflow fix to stable-v1, then retry Homelab/platform core-delivery.yml on main with operation verify-only. No Platform code, image release, OpenBao value or credential change is required.
fix: match init source download bound to the locked archive
Some checks failed
Library checks / tests (pull_request) Has been cancelled
Workflow acceptance / acceptance (pull_request) Has been cancelled
Repository security / security-1 (pull_request) Has been cancelled
0c69ce41f3
portegumi approved these changes 2026-10-18 23:57:38 -05:00
Dismissed
portegumi left a comment

Reviewed the exact-head downloader and tests. The streaming bound now permits the declared 104,503,102-byte locked archive, rejects both oversized and truncated streams, and retains the pinned SHA-256 check before extraction, HTTPS/no-redirect behavior, bounded extraction, and signed image verification ahead of package creation. Progress stages wrap download and chart preparation without changing the UDS init package/image selection or deployment/routing ownership. The large-stream regression uses mocked bytes rather than downloading the upstream archive in this review; the claimed live archive reproduction is not independently verified here. Source review approved; Workflow acceptance, Repository security, and Library checks were still pending at review time and remain mandatory merge gates. No merge or deployment is authorized by this approval.

CI at submission: pending. This is a source-review approval, not a scan verdict; required checks still block merge.

Reviewed the exact-head downloader and tests. The streaming bound now permits the declared 104,503,102-byte locked archive, rejects both oversized and truncated streams, and retains the pinned SHA-256 check before extraction, HTTPS/no-redirect behavior, bounded extraction, and signed image verification ahead of package creation. Progress stages wrap download and chart preparation without changing the UDS init package/image selection or deployment/routing ownership. The large-stream regression uses mocked bytes rather than downloading the upstream archive in this review; the claimed live archive reproduction is not independently verified here. Source review approved; Workflow acceptance, Repository security, and Library checks were still pending at review time and remain mandatory merge gates. No merge or deployment is authorized by this approval. CI at submission: pending. This is a source-review approval, not a scan verdict; required checks still block merge.
Merge branch 'main' into kiyi/gitch-init-source-size
All checks were successful
Workflow acceptance / acceptance (pull_request) Successful in 1m52s
Repository security / security-1 (pull_request) Successful in 2m8s
Library checks / tests (pull_request) Successful in 8m37s
0549c20663
portegumi approved these changes 2026-10-18 23:59:12 -05:00
portegumi left a comment

Independently reviewed the current exact-head diff and complete changed downloader/test source. The 104,503,102-byte locked-source bound accepts the formerly rejected archive size, rejects oversized and truncated streams, and retains the pinned SHA-256 check before bounded extraction, verified HTTPS/no redirects, and signed image validation before package creation. Added progress stages do not alter UDS 1.14.1 package selection, deployment policy or routing ownership. The large-stream test mocks archive bytes; live archive retrieval was not independently reproduced in this review. Source approved only; Workflow acceptance, Repository security, and Library checks are running/pending at this head and remain mandatory merge gates. Earlier Library run 1050 at 0c69ce4 is cancelled, not evidence that current checks passed. No merge or deployment authorized.

CI at submission: pending. This is a source-review approval, not a scan verdict; required checks still block merge.

Independently reviewed the current exact-head diff and complete changed downloader/test source. The 104,503,102-byte locked-source bound accepts the formerly rejected archive size, rejects oversized and truncated streams, and retains the pinned SHA-256 check before bounded extraction, verified HTTPS/no redirects, and signed image validation before package creation. Added progress stages do not alter UDS 1.14.1 package selection, deployment policy or routing ownership. The large-stream test mocks archive bytes; live archive retrieval was not independently reproduced in this review. Source approved only; Workflow acceptance, Repository security, and Library checks are running/pending at this head and remain mandatory merge gates. Earlier Library run 1050 at 0c69ce4 is cancelled, not evidence that current checks passed. No merge or deployment authorized. CI at submission: pending. This is a source-review approval, not a scan verdict; required checks still block merge.
gitchegumi deleted branch kiyi/gitch-init-source-size 2026-10-19 00:18:36 -05:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Homelab/workflows!132
No description provided.