mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-04 08:48:45 +00:00
12_collect_diagnostics.sh starts with `set +e` before sourcing _context.sh, which immediately re-enables `set -euo pipefail` for the remainder of the script. The first `docker exec ... mount | grep -i nfs` that finds no nfs mount returned rc=1, pipefail propagated it, and errexit aborted the script halfway through. GitHub Actions reported a red tab on the diagnostic step next to the actual failing deploy step. Move `set +e`/`set +o pipefail`/`set +u` after the source so the post-failure helper continues through every probe even when individual commands return non-zero, and the trailing `exit 0` still pins the script's return code to success. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>