You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(phase4): repair candidate artifact layout and guard Linux acceptance (#75)
The first full three-platform candidate run failed in every downstream lane
from one root cause: the Linux candidate and channel-image artifacts each
mixed `dist/...` and `container/...` upload paths. actions/upload-artifact
uses the least-common-ancestor of its inputs as the archive root, so a single
`container/` entry made the root the repository root and nested every file
under `dist/` on download. Consumers look at the download root, so Linux,
Windows, and Phase 2 all reported "candidate archive is missing", and the
promotion assembler would have failed the same way on the channel image.
Remove the redundant `container/channel-machine.oci.json` from the candidate
artifact and `container/channel-machine.oci.sha256` from the channel-image
artifact. Both duplicates remain retained elsewhere (the immutable channel
image artifact and each release's own container tree); no consumer reads them
from these artifacts. The exact candidate and image bytes are unchanged.
Also clear the retained self-hosted dress-rehearsal workspace before download
so a stale prior candidate can never mask a layout error again.
Harden ops/platform-acceptance/linux.sh: it performs a real root install
(port 8123, /var/lib/1helm-oci-v1, systemd units), which is only safe on a
disposable hosted runner. Refuse unless RUNNER_ENVIRONMENT=github-hosted, no
1Helm/standalone host state already exists, and port 8123 is free. This
encodes the prior production-clobber lesson without changing the shipped
installer's paths.
Tests updated to assert single-rooted uploads, the workspace clear, and the
Linux isolation guard. Full `npm run ci` passes.
No release, tag, version bump, website deploy, or production change.
Co-authored-by: Joseph Yaksich <gitcommit90@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments