Fix SIGPIPE race in the image smoke test #1

Merged
lucasrguerra merged 2 commits from fix/smoke-sigpipe into main 2026-11-03 14:50:39 +00:00
Owner

What

scripts/smoke-image.sh piped curl and acaua doctor into grep -q under pipefail. grep -q exits at the first match, so the writer can get SIGPIPE, and pipefail turns that into a failure. Whether it fails depends on machine speed. This already broke Xexéu's arm64 build, which uses the same script.

  • Outputs are captured in variables before they are checked.
  • The doctor check is just as strict as before: it must exit 0, and its output is shown on failure.
  • CHANGELOG entry (EN/PT-BR) under [Unreleased]: CI script only, the image does not change.

Verified

  • scripts/smoke-image.sh git.lucasrguerra.dev.br/ciberfauna/acaua:edge passes locally against the published image.

🤖 Generated with Claude Code

## What `scripts/smoke-image.sh` piped `curl` and `acaua doctor` into `grep -q` under `pipefail`. `grep -q` exits at the first match, so the writer can get SIGPIPE, and `pipefail` turns that into a failure. Whether it fails depends on machine speed. This already broke Xexéu's arm64 build, which uses the same script. - Outputs are captured in variables before they are checked. - The `doctor` check is just as strict as before: it must exit 0, and its output is shown on failure. - CHANGELOG entry (EN/PT-BR) under `[Unreleased]`: CI script only, the image does not change. ## Verified - `scripts/smoke-image.sh git.lucasrguerra.dev.br/ciberfauna/acaua:edge` passes locally against the published image. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
lucasrguerra added 2 commits 2026-11-03 14:19:28 +00:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs(changelog): Portuguese entry for the smoke test fix
CI / Format and clippy (pull_request) Successful in 25s
CI / Dependency audit (pull_request) Successful in 16s
CI / Tests (Linux) (pull_request) Successful in 43s
CI / Docker image (build and smoke test) (pull_request) Successful in 4m34s
2a4357377e
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
lucasrguerra merged commit b9b0e96225 into main 2026-11-03 14:50:39 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ciberfauna/acaua#1