Skip to content

Pace Sonatype snapshot publications - #311

Closed
vRallev wants to merge 15 commits into
mainfrom
ralf/slow-snapshot-publishing
Closed

vRallev wants to merge 15 commits into
mainfrom
ralf/slow-snapshot-publishing

Conversation

@vRallev

@vRallev vRallev commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Space Sonatype snapshot publication starts 30 seconds apart within each Gradle invocation to reduce sustained request volume. Keep the full signed artifact set and the 10-second initial retry delay. Allow 110 minutes for the snapshot job.

Verification

  • 30-second interval completed all 161 publications, including the Gradle plugin and marker, in about 82 minutes. No HTTP 429 errors or network retries appeared in the log.
  • 25-second interval failed with HTTP 429 on a Maven metadata checksum. The 45-second run completed in about 121 minutes.

The temporary PR trigger and diagnostic logging were reverted after testing.

Run snapshot publishing without parallel project execution and give Gradle 10 seconds before the first retry. This gives Sonatype time to recover from throttling while Gradle retries the individual request.
Run the snapshot publish job on pushes to this pull request so both Gradle builds can exercise the Sonatype upload before merge.
Keep snapshot uploads serial and allow five retries per request. The longer backoff gives Sonatype more time to clear a throttling window without restarting the publication or dropping signatures and checksums.
Run publishing on this pull request and log Gradle retry timing to verify how the client handles throttled requests.
Separate the start of consecutive Sonatype snapshot publications by at least 45 seconds to reduce sustained request volume. Keep the signed artifact set and give the snapshot job time to upload the full catalog at that pace.
Run the paced snapshot workflow on this pull request and record retry timing and the runner egress address for diagnosis.
@vRallev vRallev changed the title Reduce request bursts during snapshot publishing Pace Sonatype snapshot publications Nov 13, 2026
Start each publication at least 25 seconds apart so the full catalog can publish sooner while retaining request pacing and the complete signed artifact set.
Publish from this pull request with Gradle retry logging to verify the 25-second interval against the Sonatype snapshot endpoint.
Use a 30-second interval after Sonatype throttled the 25-second validation run. The longer interval still removes about 40 minutes of waiting from a full catalog compared with 45 seconds.
Publish from this pull request with Gradle retry logging to verify the 25-second interval against the Sonatype snapshot endpoint.
@vRallev vRallev closed this Nov 16, 2026
@vRallev
vRallev deleted the ralf/slow-snapshot-publishing branch November 16, 2026 06:54
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.

1 participant