fix(release): add retry and delay for PR creation to handle Gitea API race condition #18
Reference in New Issue
Block a user
Delete Branch "fix-release-pr-race-condition"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The PR creation curl immediately follows branch creation via the Contents
API, but Gitea may not have fully indexed the new branch for pull request
operations yet. This causes intermittent HTTP errors on the first run.
connection failures)
failure for easier debugging
Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com