Repository navigation
Description
Observed failure
The actual tag-bound CLI publication for v0.5.64 at ebf4546fb1455a236c1046f3d73ef78c2e1d0109 fails unit tests, although that exact source passed its release-candidate CLI validation.
- Publication: https://github.com/tale-project/tale/actions/runs/36658878748
- Failed Linux unit-test job: https://github.com/tale-project/tale/actions/runs/36658878748/job/109709067235
- Failed Linux ARM64 job: https://github.com/tale-project/tale/actions/runs/36658878748/job/109709067335
- Same-source passing candidate: https://github.com/tale-project/tale/actions/runs/36654688277/job/109696405539
The Linux publication log records 1,465 pass / 19 skip / 3 fail. All three failures are release artifact identity > CLI release tag ... is validated before the build in tools/cli/src/lib/compose/services/compose-parity.test.ts:1069, for v0.5.42, 0.5.42 and v0.5.42-rc.1. Each expected exit 0 and received 1. The candidate actually ran the same tests with Bun 1.4.2 and passed them; this is not a cached-pass assertion.
Root cause
The real workflow correctly rejects a dispatch tag that disagrees with RELEASE_TAG, and checks the resolved tag commit against GITHUB_SHA. The synthetic tag-validation cases override RELEASE_TAG and TEST_TAG_SOURCE but inherit the outer runner’s GITHUB_REF/GITHUB_SHA through their shell helper. During publication the inherited ref is refs/tags/v0.5.64, so the synthetic v0.5.42 cases hit the correct mismatch rejection. The candidate event used a branch ref, which does not hit this comparison.
Acceptance
Make the fixture’s complete GitHub event/ref/source identity explicit and independent of its caller. Keep the real exact-tag/exact-source publication guards unchanged. Prove the actual extracted shell under synthetic tag and branch environments, retaining positive valid-tag cases and negative mismatched-tag/resolved-source controls. Run the affected suite with an outer release-tag environment as well as normal context; demonstrate that the old fixture fails and the correction passes. Sweep similar release fixtures for the same inherited-event defect without unrelated rewrites. Use ordinary checks and a focused PR. No production request, real release dispatch, credential change or destructive test is needed.
Release handling
The image Release workflow completed, but this version’s full publication is incomplete until all required CLI artifacts exist. Keep v0.5.64 and its failure evidence intact; do not move its tag or use a main/branch dispatch as tag-bound deployment proof. Per .github/RELEASING.md, a deterministic defect is fixed on main and a new validated candidate/version explicitly replaces the failed publication. Root owns that coordinated decision and the existing Ops deployment path.
Activity