Skip to content

fix: add workflow_dispatch trigger and retry loop to release workflow#519

Merged
michael-richey merged 1 commit intomainfrom
fix/release-workflow-retry
Apr 8, 2026
Merged

fix: add workflow_dispatch trigger and retry loop to release workflow#519
michael-richey merged 1 commit intomainfrom
fix/release-workflow-retry

Conversation

@michael-richey
Copy link
Copy Markdown
Collaborator

@michael-richey michael-richey commented Apr 7, 2026

Summary

  • Adds workflow_dispatch trigger with optional sha input, so the release can be manually re-triggered if automation fails (pass the merge commit SHA to look up the release PR)
  • Adds a retry loop (6 attempts × 10s) around listPullRequestsAssociatedWithCommit to handle GitHub API eventual consistency — the workflow was failing silently because the API hadn't indexed the PR association within ~3s of merge

🤖 Generated with Claude Code

Addresses two issues:
- Adds workflow_dispatch with optional sha input so the release can be
  manually re-triggered (e.g. if automation fails)
- Adds retry loop (6 attempts, 10s apart) to listPullRequestsAssociatedWithCommit
  to handle GitHub API eventual consistency after a PR merge

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@michael-richey michael-richey marked this pull request as ready for review April 7, 2026 21:02
@michael-richey michael-richey requested a review from a team as a code owner April 7, 2026 21:02
@michael-richey michael-richey merged commit e542686 into main Apr 8, 2026
21 of 22 checks passed
@michael-richey michael-richey deleted the fix/release-workflow-retry branch April 8, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants