Replies: 6 comments 9 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
@glureau We're also facing this same issue and i'm wondering if it might be related to the number of active versions that a package has. How many active versions do you have? on our failing repos it seems to be at 600+ active versions, which we honestly don't really need, but we shouldn't have to maintain a way of deleting old unneeded versions I wouldn't think. |
Beta Was this translation helpful? Give feedback.
-
|
Just had this issue too, and I appreciate the OP's hypothesis and further discussion here as it's been helpful to unblock me. Deleting the successfully uploaded packages and re-running the job succeeded (but I guess that was by chance and the more packages you have, the more likely you are to run into the issue again). I genuinely don't know how feasible it is to fix or improve the chances that a package upload doesn't time out, but alternatively, it would probably be good if |
Beta Was this translation helpful? Give feedback.
-
|
Same here: Can happen at any random moment when publishing artifacts to GitHub Package Registry. We get this 1 out of 10 times, and always a different artifacts that we get the 409 for. |
Beta Was this translation helpful? Give feedback.
-
|
Not a bug. HTTP verb Instead of
Meanwhile I've wrote a |
Beta Was this translation helpful? Give feedback.
-
|
I think may have figured out why this is happening. Given these problems, we decided to create a task to upload all the artifacts from a local maven repository. We have about 15k files in total (over 500 modules with md5 hash files and the rest). When we tried to launch 15k connections, we kept getting random errors (403, 400, 500) not in a consistent manner. However, the artifacts were deployed despite the error returned from GHP. We reduced the number of parallel connections to 500 and the problem persisted. Only when we reduced it to 100 the problem stopped happening. Our hypothesis is that under relatively medium load, the Github Packages starts misbehaving and running into all sorts of problems. For the Gradle plugin, we think that it retries to upload the artifact but it's already published, and that's when we get the 409. Need to run more tests to validate this though |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
I've 2 main projects, each one containing more than 100 gradle modules. Using the standard maven-publish plugin, we were able to publish those packages for a while. Then a few months ago we notice that sometime there was this kind of error. There's clearly no conflict and restarting the build was "fixing" the problem. (Mostly snapshot builds which contains the date+time to avoid conflicts, ex:
13.0.0-20250117090733from the error above.)There days it's getting way worse, I've to restart the build multiple times, taking half a day or more of just checking CI and restarting this.
My hypothesis / uderstanding so far:
Thanks for your attention.
Similar topics
https://discuss.gradle.org/t/maven-publish-plugin-to-github-repo/39503/9
Beta Was this translation helpful? Give feedback.
All reactions