Skip to content

Recover a release whose main push event was lost during a GitHub Actions outage #107

Backlog

Description

@Andreas-Garcia

Context

release-tag.yml validates only the exact push event it runs for: it requires github.event_name == push on refs/heads/main and checks the version bump on github.event.before..github.sha (release/validate-release.py). The README states that a later push without a bump produces no tag.

If GitHub never delivers the push event that carries a release bump (GitHub Actions/webhooks outage), nothing tags that version afterwards: the next push has no bump, and there is no supported way to replay the release for a given commit. On 2026-12-02, during the "Webhooks and Actions" incident, agent-config-btmt 3.29.1 was tagged only because a run had been queued and eventually ran (gh run rerun of run 46934296383). A push whose event is never created has no run to rerun.

Rejected alternative: an admin bypass on the managed release-tag-creation ruleset (github-config). A tag created by hand publishes nothing during an outage (publishing also runs in Actions), skips the release-policy validation, and is permanent because release-tag-immutable has no bypass.

Deliverable

Investigate and propose a recovery path to tag and publish a release whose push event was lost, without weakening the guarantees: only the release App creates tags, the tagged commit and version are validated against the release policy, and replays are idempotent (release/create-tag.py already accepts an existing tag on the same commit). Options to evaluate include a workflow_dispatch entry that takes the bump commit and validates its first-parent range on main, or detecting an untagged bumped version on a later push. Record the chosen design, the contract change for callers (and the conformance checks in github-config, if affected), then open the implementation issue.

Closure criterion

A comment records the chosen design with its validation rules and caller migration, and the implementation issue is opened and linked here.

Activity

  1. Andreas-Garcia commented on Dec 2, 2026

    @Andreas-Garcia
    MemberAuthor

    Implemented in #111 (merged as 19ffb00).

    Design: the caller workflow gains a workflow_dispatch input release-commit; the run on main replays the lost push and tags/publishes that commit. Idempotent.

    Validation: full 40-character SHA, exactly one parent, on the first-parent history of origin/main; the parent..commit check in validate-release.py is unchanged.

    Caller migration: add the dispatch trigger; use the concurrency group <stem>-${{ inputs.release-commit || github.sha }} without cancellation; make the caller's own jobs check out that ref (ref input for python-check.yml); update the org-conformance checker pin before adopting the group. See the README section "Recovering a release push that produced no run" and examples/release-please.yml.

    Current state: the push of the 6.8.0 release commit (8637b93) has no Release run and no v6.8.0 tag, so release-please reconciliation fails on main (runs 46949542605, 46951655380). This repository's own release.yml has not adopted the dispatch yet.

  2. Andreas-Garcia commented on Dec 2, 2026

    @Andreas-Garcia
    MemberAuthor

    Recovery done: #112 adopted the dispatch; the dispatch run for 8637b93 succeeded with no 403 (no recover-release branch needed); the re-run of the failed push run passed; v6.8.0 and v6.9.0 are tagged (release PR #113 auto-merged). org-conformance#10 now accepts the recovery group form. Still open: pin the org ruleset to the new org-conformance release, bump the other callers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions