Skip to content

fix(ci): report proper exit code in deploy_multiarch.sh - #2002

Merged
mayeut merged 1 commit into
pypa:mainfrom
mayeut:fix-exit-code
Oct 10, 2026
Merged

mayeut merged 1 commit into
pypa:mainfrom
mayeut:fix-exit-code

Conversation

@mayeut

@mayeut mayeut commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

In run https://github.com/pypa/manylinux/actions/runs/37987958535/attempts/1, we can see error annotations but the exit code of the script does not reflect those.
It wasn't a big issue and maybe was even done on purpose when the script ran everyday and images were built on different CI with one failing regularly and hence would have sent mails everyday. Now that everything runs in GHA and only on push to main, we definitely wan't to fail the workflow.

xref pypa/cibuildwheel#3009

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The failure state is consistently recorded for all annotated errors and correctly returned after processing.

0 open findings

What changed in this PR

Ensures multi-architecture deployment failures propagate to GitHub Actions.

Changes:

  • Tracks manifest creation and push failures.
  • Exits nonzero when any deployment operation fails.
File Description
deploy_multiarch.sh Accumulates deployment failures and returns the appropriate exit code.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mayeut
mayeut merged commit 57bd9a6 into pypa:main Oct 10, 2026
30 checks passed
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.

2 participants