Fix AOR-127: Return existing commit object in 409 response for duplicate commit indexing#22
Draft
poolside-bot wants to merge 1 commit intomainfrom
Draft
Fix AOR-127: Return existing commit object in 409 response for duplicate commit indexing#22poolside-bot wants to merge 1 commit intomainfrom
poolside-bot wants to merge 1 commit intomainfrom
Conversation
…t retry When the Bridge API returns a 409 Conflict response indicating a duplicate commit, the action now extracts the existing commit ID from the response body and treats the operation as successful. This enables idempotent retry behavior for GitHub Actions workflows that are re-run after network failures. The action checks for the 'existing.id' field in the 409 response. If found, it logs the existing commit ID and exits successfully. If not found (backward compatibility with older backend versions), it falls through to the standard error handling. Closes: AOR-127
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Automated fix for AOR-127: Return existing commit object in 409 response for duplicate commit indexing
Linear Issues
Changes Made
action/action.yml: Added handling for 409 responses - extracts existing.id from response body and treats as success for idempotent retry behavior