Skip to content

merge queue: checking #324 on main (4b4677d) - #326

Closed
mergify[bot] wants to merge 2 commits into
mainfrom
mergify/merge-queue/e47047eb43
Closed

merge queue: checking #324 on main (4b4677d)#326
mergify[bot] wants to merge 2 commits into
mainfrom
mergify/merge-queue/e47047eb43

Conversation

@mergify

@mergify mergify Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request has been checked successfully and will be merged soon. 🎉

#324 is queued for merge on branch main (4b4677d).

This pull request has been created by Mergify to check the mergeability of #324.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue rule admin-bypass for merge:

  • check-success = lint
  • check-success = test

Required conditions to stay in the queue:

---
checking_base_sha: 4b4677db77270387e0cdbe016c9381d1ab23a172
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 324
    scopes: []
scopes: []
...

edbert-bot and others added 2 commits September 9, 2026 14:24
Reviewed the one-shot `pgrep -f postgres` case, which reads like a legitimate
"is it running?" check, and kept it firing.

An agent harness runs each tool call as `bash -c '<the whole command>'`, so the
pattern is already in a live process cmdline before the search starts.
Verified: a bare `pgrep -f` for a token present on no process anywhere printed
a pid and exited 0, and `pgrep -af` showed the match was that wrapper. There is
no correct plain `-f` spelling under such a harness, so the one-shot answer is
wrong too -- just less loudly than a loop that never exits.

Narrowing to loop constructs would also miss a one-shot `pkill -f`, which is
destructive, and an `if pgrep -f X; then` guard, which silently takes the wrong
branch. The block message now explains the wrapper rather than only the loop,
so the redirect teaches the actual rule.

The fixture carries the reasoning in its docstring so a later reader does not
relax it back to silent.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F43CBUnsDEs6J2zEC1r8a8
@mergify mergify Bot closed this Sep 9, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/e47047eb43 branch September 9, 2026 21:50
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.

1 participant