Skip to content

Show captured publish test failures - #21757

Merged
woodruffw merged 1 commit into
mainfrom
zb/publish-failure-output-20260916
Sep 16, 2026
Merged

woodruffw merged 1 commit into
mainfrom
zb/publish-failure-output-20260916

Conversation

@astral-automations-bot

Copy link
Copy Markdown
Contributor

Publishing smoke tests can fail with only a CalledProcessError traceback because the re-upload assertions capture uv publish stderr. Print captured stderr with the target and exit code before re-raising the original exception, so registry and authentication failures remain diagnosable. This does not change which failures are retried or accepted.

Refs astral-sh#363.

@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing internal:testing Internal testing of behavior labels Sep 16, 2026

@woodruffw woodruffw left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Seems reasonable to me. Long term I suspect we'll want to clean up test_publish.py more generally.

@woodruffw
woodruffw merged commit cc6880f into main Sep 16, 2026
59 checks passed
@woodruffw
woodruffw deleted the zb/publish-failure-output-20260916 branch September 16, 2026 17:42

This branch was previously deployed

1 inactive deployment
automations — b082e7c0 Deployed Sep 16, 2026 by astral-automations-bot[bot] via review / security review #46913
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:testing Internal testing of behavior internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants