Skip to content

fix(release): dispatch recovery from the existing release tag - #15

Merged
chhoumann merged 1 commit into
mainfrom
fix/dispatch-from-tag
Jul 11, 2026
Merged

fix(release): dispatch recovery from the existing release tag#15
chhoumann merged 1 commit into
mainfrom
fix/dispatch-from-tag

Conversation

@chhoumann

Copy link
Copy Markdown
Owner

Validate now dispatches stage 3 from the most durable exact release source it has: when the <version> tag already exists and points at the validated release commit (the forensics step already asserts consistency), it dispatches on the tag and skips creating the release-run/<version> recovery branch; the branch is only created - as before - when no tag exists yet (fresh merge, or recovery of a release that failed before tagging). Stage 3 accepts refs/tags/<version> as an exact source since its introduction, so no consumer change is needed.

Besides removing an unnecessary write from every re-validation of an already-tagged release, this fixes dispatch recovery on PodNotes, found while E2E-testing #9: its Actions GITHUB_TOKEN deterministically gets 403 Resource not accessible by integration from POST /git/refs when the target is an older commit whose .github/workflows content differs from the branch head (verified with a minimal probe workflow: createRef at head succeeds, including release-run/* names; createRef at the prior release commit fails; the identical probe pattern succeeds on MetaEdit, so GitHub applies this inconsistently per repo). With this change the quirk can only matter for recovering a release that failed before its tag was created on such a repo - webhook redelivery, documented in the README recovery section, covers that residual case.

Refs #9

@chhoumann
chhoumann merged commit ddc03d9 into main Jul 11, 2026
1 check passed
@chhoumann
chhoumann deleted the fix/dispatch-from-tag branch July 11, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant