merge queue: checking #324 on main (4b4677d) - #326
Closed
mergify[bot] wants to merge 2 commits into
Closed
Conversation
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
16 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎉 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-bypassfor merge:check-success = lintcheck-success = testRequired conditions to stay in the queue:
-draftbase=mainlabel=admin-bypass