Fix release workflow's antsibull-changelog step: redirect I/O to files #5

Merged
jsanchezd merged 1 commit from fix/release-redirect-io into main 2026-09-29 12:14:40 +00:00
Owner

The fcntl-based fix (743a71c) did not actually work -- run #16 failed with the same bare "ERROR: Uncaught exception" as before, meaning clearing O_NONBLOCK on inherited fds doesn't survive whatever process boundary this runner puts between commands within a single run: step.

Redirecting each antsibull-changelog invocation's own stdout/stderr to a real file sidesteps the problem regardless of process architecture: a regular file's fd is always blocking. stdin is also redirected from /dev/null for the same reason.

🤖 Generated with Claude Code

https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp

The fcntl-based fix (743a71c) did not actually work -- run #16 failed with the same bare "ERROR: Uncaught exception" as before, meaning clearing O_NONBLOCK on inherited fds doesn't survive whatever process boundary this runner puts between commands within a single `run:` step. Redirecting each antsibull-changelog invocation's own stdout/stderr to a real file sidesteps the problem regardless of process architecture: a regular file's fd is always blocking. stdin is also redirected from /dev/null for the same reason. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp
Fix release workflow's antsibull-changelog step: redirect I/O to files
All checks were successful
Ansible Lint / ansible-lint (pull_request) Successful in 35s
a8b68a6726
The fcntl-based fix in the previous commit (743a71c) did not actually
work -- run #16 failed with the same bare "ERROR: Uncaught exception"
as before, meaning clearing O_NONBLOCK on the inherited fds doesn't
survive whatever process boundary this runner puts between commands
within a single run: step.

Redirecting each antsibull-changelog invocation's own stdout/stderr to
a real file sidesteps the problem regardless of process architecture:
a regular file's fd is always blocking. stdin is also redirected from
/dev/null for the same reason, since ansible-core's check covers all
three of stdin/stdout/stderr.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012icUrjv3vgHtovVpHUFjdp
jsanchezd deleted branch fix/release-redirect-io 2026-09-29 12:14:40 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ansible-collections/silvarion.repos!5
No description provided.