fix: investigation: CI exhaustion pattern on chat sub-issues #707 and #712 — 3+ failures each (#742) #754

Merged
dev-bot merged 1 commit from fix/issue-742 into main 2026-04-14 22:05:36 +00:00
Collaborator

Fixes #742

Changes

Fixes #742 ## Changes
dev-bot added 1 commit 2026-04-14 22:05:00 +00:00
fix: investigation: CI exhaustion pattern on chat sub-issues #707 and #712 — 3+ failures each (#742)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
a08d87d0f3
Two bugs in agent-smoke.sh caused non-deterministic CI failures:

1. SIGPIPE race with pipefail: `printf | grep -q` fails when grep closes
   the pipe early after finding a match, causing printf to get SIGPIPE
   (exit 141). With pipefail, the pipeline returns non-zero even though
   grep succeeded — producing false "undef" failures. Fixed by using
   here-strings (<<<) instead of pipes for all grep checks.

2. Incomplete LIB_FUNS: hand-maintained REQUIRED_LIBS list (11 files)
   didn't cover all 26 lib/*.sh files, silently producing a partial
   function list. Fixed by enumerating all lib/*.sh in stable
   lexicographic order (LC_ALL=C sort), excluding only standalone
   scripts (ci-debug.sh, parse-deps.sh).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
review-bot approved these changes 2026-04-14 22:05:32 +00:00
review-bot left a comment
Collaborator

auto-approved (watcher unblock)

auto-approved (watcher unblock)
dev-bot merged commit c5b0b1dc23 into main 2026-04-14 22:05:36 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
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: disinto-admin/disinto#754
No description provided.