Skip to content

Document release failure recovery procedure#408

Merged
CasperWA merged 9 commits into
mainfrom
cwa/document-release-failure-recovery
Apr 22, 2026
Merged

Document release failure recovery procedure#408
CasperWA merged 9 commits into
mainfrom
cwa/document-release-failure-recovery

Conversation

@CasperWA-ai-bot
Copy link
Copy Markdown
Collaborator

@CasperWA-ai-bot CasperWA-ai-bot commented Apr 22, 2026

Add a "Handling a failed release" subsection to the Release Process section of AGENTS.md, and add a new ## Issues section with guidance on opening issues before starting work. Also improves the PR template to include the Fixes #<number> line.

The "Handling a failed release" subsection covers:

  1. Delete the release and tag (both remote and local).
  2. Fix the issue via the normal development process (issue → branch → PR → merge) and wait for CI on main to pass.
  3. Update the release summary issue if the fix introduced changes that should be reflected in it, using a temp-file fetch-and-edit pattern to preserve existing content.
  4. Re-publish from the "Publish the release" step (milestone and release summary do not need recreating).

The ## Issues section documents that work should start with a GitHub issue including a structured template (Problem/Goal, Context, Reproduction, Considerations), --assignee @me, and a note to proceed with branching immediately unless told to wait.

The need for the failure recovery docs was identified during the v2.10.0 release, where the release workflow failed due to a missing workflows permission (see #406 / #407).

Squash commit message

Click to view squash commit message

Document release failure recovery procedure and improve Issues guidelines

Adds a "Handling a failed release" subsection to AGENTS.md describing
how to safely recover when the CD release workflow fails after a release
has been published: delete the release/tag (both remote and local),
fix the underlying issue via the normal development process, optionally
update the release summary issue (using a fetch-and-edit pattern to
preserve existing content), and re-publish.

Also adds a new Issues section documenting that work should start with
a GitHub issue using a structured template (Problem/Goal, Context,
Reproduction, Considerations) with --assignee @me, and improves the PR
template to include Fixes # with a note to delete it when not
applicable.

Add a "Handling a failed release" subsection to the Release Process
section in AGENTS.md, covering: deleting the release and tag, fixing
the issue via the normal PR process, updating the release summary issue
if needed, and re-publishing from the publish step.
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.30%. Comparing base (9af9578) to head (ae0e1d4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #408   +/-   ##
=======================================
  Coverage   85.30%   85.30%           
=======================================
  Files          12       12           
  Lines         939      939           
=======================================
  Hits          801      801           
  Misses        138      138           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds operational documentation to AGENTS.md describing how to recover when the release CI workflow fails after a GitHub release has already been published, so maintainers can safely delete and re-run the release after fixing the underlying issue.

Changes:

  • Add a “Handling a failed release” subsection under the Release Process section.
  • Document steps to delete the release/tag, apply a fix via the normal PR process, optionally update the release summary issue, and re-publish.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md
Comment thread AGENTS.md
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
Comment thread AGENTS.md Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@CasperWA CasperWA merged commit 08b0161 into main Apr 22, 2026
29 checks passed
@CasperWA CasperWA deleted the cwa/document-release-failure-recovery branch April 22, 2026 13:20
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.

3 participants