Skip to content

ci: enhance CI workflow with staggered uploads to PyPI to reduce 503 errors#2556

Merged
nik843 merged 2 commits intomainfrom
fix-pypi-release-ci
Feb 2, 2026
Merged

ci: enhance CI workflow with staggered uploads to PyPI to reduce 503 errors#2556
nik843 merged 2 commits intomainfrom
fix-pypi-release-ci

Conversation

@nik843
Copy link
Contributor

@nik843 nik843 commented Jan 30, 2026

Description

Please provide a description of your changes:

  • What problem are you solving?

    • Stagger PyPI uploads: When releasing on a tag, all matrix jobs publish to PyPI around the same time, which can trigger 503s. A new “Stagger uploads” step adds a deterministic 0–90s delay per module (from cksum of the module name) so uploads are spread out and 503s are less likely.
    • Release log: The “Release” step was logging the literal RELEASE_VERSION instead of the variable. The echo was updated to echo "Using tag version: ${RELEASE_VERSION}" so the log shows the actual version.
  • Any expected impact on downstream packages/services?

    • No functional change to what gets published or when releases are created. Release-to-PyPI may take up to ~90 seconds longer for the slowest matrix job due to the stagger; other jobs and branches are unchanged.
  • Reference issue # if available.

Checklist

  • I added a test to verify the new functionality.
  • [ x] I verified this PR does not break soda-extensions.

@nik843 nik843 requested review from m1n0 and nielsn January 30, 2026 13:31
@nik843 nik843 self-assigned this Jan 30, 2026
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@sonarqubecloud
Copy link

@nik843 nik843 merged commit 4e088fa into main Feb 2, 2026
77 of 79 checks passed
@nik843 nik843 deleted the fix-pypi-release-ci branch February 2, 2026 10:24
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.

3 participants