Skip to content

feat: add rollback automation for GitHub releases #17

Closed

Description

@zircote

Quality Gate Reference

  • Checklist Item: CCD-008 (Rollback Strategy)
  • Current Score: 0.50/1.0
  • Impact: Medium — Tier 2 blocker
  • Effort: Medium

Description

Rollback workflow exists on feat/autonomous-convergence but is not on main. Implement automatic rollback on release failure:

  1. Post-release smoke test that validates the published artifact
  2. On failure, use author/action-rollback to delete bad release and tag
  3. Keep previous release installable

For CLI plugins: rollback = delete bad release + ensure previous release remains installable.

Implementation

  1. Add post-release verification step in release.yml
  2. Add author/action-rollback as conditional step on failure
  3. Merge existing rollback.yml from PR chore: quality improvement 53.9 → 81.5 (tier 2) #1

Acceptance Criteria

  • Release pipeline includes post-release verification
  • Automatic rollback triggers on verification failure
  • CCD-008 score improves
  • All existing tests pass

References

Activity

  1. zircote commented on Apr 1, 2026

    @zircote
    CollaboratorAuthor

    Resolution: Already Implemented on develop

    The rollback automation is fully implemented on the develop branch and will reach main on next release merge.

    Evidence

    release.yml — Post-release verification + auto-rollback:

    • verify-release job (lines 66–103): validates release exists, is marked latest, and tests pass at the release tag
    • rollback-on-failure job (lines 104–161): on verification failure, deletes bad release, promotes previous release as latest, and creates a tracking issue

    rollback.yml — Manual rollback workflow:

    • workflow_dispatch with version/reason inputs
    • Validates target tag exists, runs tests at rollback target, then promotes that release as latest
    • Marks superseded release in its notes

    Acceptance Criteria

    • Release pipeline includes post-release verification
    • Automatic rollback triggers on verification failure
    • Manual rollback workflow available
    • CCD-008 score should improve once merged to main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions