Skip to content

scripts/check-shell-lint.sh: printf | grep -q under pipefail → SIGPIPE false 'uncovered' (CI flake) #1297

Closed

Description

@bpalermo

Found during #1290's first CI run (e2e/agent-restart-gap.sh reported uncovered with printf: write error: Broken pipe; passed on re-run). Line 96 of scripts/check-shell-lint.sh does printf "$covered" | grep -qxF … under set -euo pipefail: when grep matches and exits early, printf gets SIGPIPE and the pipeline fails, so a covered file is reported as uncovered. Fix: grep -qxF -- "$f" <<<"$covered" (no pipe). Same trap as the memory note on producer | grep -q under pipefail.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions