Skip to content

Keep jq stderr in jq_lacks (converge configure.sh)#355

Merged
ptr727 merged 1 commit into
developfrom
fix/jq-lacks-stderr
Jun 29, 2026
Merged

Keep jq stderr in jq_lacks (converge configure.sh)#355
ptr727 merged 1 commit into
developfrom
fix/jq-lacks-stderr

Conversation

@ptr727

@ptr727 ptr727 commented Jun 29, 2026

Copy link
Copy Markdown
Owner

Discard only stdout in jq_lacks (drop 2>&1) and reflow the comment to the canonical wrapping. jq's exit 0/1/4 cases produce no stderr so normal audit runs stay silent, but a real jq error (exit 2/3/5) now prints its diagnostic instead of failing silently.

Converges repo-config/configure.sh byte-for-byte with the other three repos, where Copilot surfaced this. Verified: bash -n, shellcheck.

Discard only stdout (drop 2>&1) and reflow the comment to the canonical wrapping. jq's exit
0/1/4 cases produce no stderr so normal runs stay silent, but a real jq error (2/3/5) now
prints its message. Converges repo-config/configure.sh with the other three repos.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 29, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the repo-config/configure.sh validation helpers so jq_lacks no longer suppresses jq diagnostics, making real jq errors (exit 2/3/5) visible during configuration audits while keeping normal runs quiet.

Changes:

  • Update jq_lacks to discard only stdout (keep stderr) so real jq failures surface useful error messages.
  • Reflow the jq_lacks comment to the canonical wrapping without changing behavior.

@ptr727
ptr727 merged commit dcd4ad8 into develop Jun 29, 2026
10 checks passed
@ptr727
ptr727 deleted the fix/jq-lacks-stderr branch June 29, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants