Intermittent failure when publishing to Maven Central
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Description
What happened?
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':closeSonatypeStagingRepository'.
> Staging repository is still transitioning after defined time. Consider its increment. StagingRepository(id=compulumi-1379, state=open, transitioning=true)
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org/
BUILD FAILED in 15m 33s
12 actionable tasks: 12 executed
Error: Gradle build failed: process exited with status 1
Steps to reproduce
Run publish on Gradle projects generated through java codegen. Providers team does this a lot and sporadically runs into the step failing.
Expected Behavior
Reliably publishes to Maven Central.
Actual Behavior
Publishing breaks.
Output of pulumi about
N/A
Additional context
N/A
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing publishing on Gradle projects generated through Java codegen and inspect the :closeSonatypeStagingRepository failure, especially the staging repository transition timeout. Done means repeated publishing completes reliably to Maven Central without the repository remaining in a transitioning state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100