Skip to content

[fix][release] Skip docker build record artifacts when staging release#473

Merged
shibd merged 1 commit intoapache:masterfrom
shibd:codex/fix-release-artifact-download
Mar 31, 2026
Merged

[fix][release] Skip docker build record artifacts when staging release#473
shibd merged 1 commit intoapache:masterfrom
shibd:codex/fix-release-artifact-download

Conversation

@shibd
Copy link
Copy Markdown
Member

@shibd shibd commented Mar 31, 2026

Background

Recent release workflow runs started to include auxiliary *.dockerbuild artifacts uploaded by docker/build-push-action.

build-support/download-release-artifacts.py currently downloads every artifact from a workflow run and unpacks each one as a release package. During release staging, build-support/stage-release.sh now fails with zipfile.BadZipFile as soon as it hits one of these auxiliary artifacts, before the actual N-API tarballs are processed.

This showed up while staging release artifacts from run 23788749811 for v1.17.0-rc.1.

Change

  • skip *.dockerbuild auxiliary artifacts when downloading release artifacts
  • keep the failure mode clearer if an unexpected non-zip artifact appears in the future

Verification

  • ran: python3 build-support/download-release-artifacts.py 23788749811 /tmp/pulsar-artifacts-verify
  • confirmed the script skips *.dockerbuild artifacts and downloads the 8 expected N-API tarballs successfully

Recent release workflow runs include auxiliary *.dockerbuild artifacts uploaded by docker/build-push-action. Our staging script downloaded every artifact from the workflow run and tried to unzip them as release packages, which caused stage-release.sh to fail with BadZipFile before the actual napi tarballs were processed.\n\nSkip *.dockerbuild artifacts in download-release-artifacts.py and keep the error message explicit for unexpected non-zip artifacts so release managers can stage 1.17.x and master builds again.
@shibd shibd merged commit 81bad47 into apache:master Mar 31, 2026
12 checks passed
@shibd shibd added this to the 1.17.0 milestone Mar 31, 2026
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