Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make staging repository operations retry on failure #17

Merged
merged 7 commits into from
Sep 28, 2023

Conversation

MaciejG604
Copy link
Collaborator

Publishing to sonatype sometimes fails with response HTTP 500 Unhandled: Staging repository is already transitioning
This happens right after the staging repository changes its status to 'closed' and a request is sent to promote it to release.
Adding a 'retry' mechanism may solve the issue.

@MaciejG604 MaciejG604 force-pushed the make-staging-repo-actions-retry branch from 6ec816c to 63d0a87 Compare September 21, 2023 15:18
@MaciejG604 MaciejG604 force-pushed the make-staging-repo-actions-retry branch from 63d0a87 to 491991e Compare September 27, 2023 07:55
Copy link
Member

@alexarchambault alexarchambault left a comment

Choose a reason for hiding this comment

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

Nice! I pushed a few commits to tweak things a bit. If you're fine with those, this should be ok to (squash-and-)merge IMO

@MaciejG604
Copy link
Collaborator Author

LGTM

@MaciejG604 MaciejG604 merged commit 0c9373d into coursier:main Sep 28, 2023
3 checks passed
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.

2 participants