Repository navigation
Fix/panicbot ponsbot review followups - #730
Conversation
…joins Child::kill reaches only pons, so a descendant could outlive the timeout and hold the output pipes open. Run pons in its own process group, SIGKILL the group on timeout and wait error, and bound the pipe reads by the same deadline. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
… one preflight deadline - run each panic-attack in its own process group and kill the group on timeout and wait error; bound pipe reads by the same deadline - canonicalise the located executable before any current_dir change - text mode no longer prints 'No issues found.' for a part error or an empty run - --version and diagnostics share one deadline; fleet reuses the suite's diagnostics version instead of running diagnostics a second time Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
…t pin Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
…error are errors panic-attack #292 (unreleased) makes adjudicate exit 0 for pass/warn, 1 for fail and 2 for an incomplete run, and adds an 'error' verdict. Accept exit 0 and 1 as complete runs and still read the report; exit 2 and verdict 'error' are error parts; exit 1 must carry verdict 'fail'. The completeness check is unchanged, and the pinned 410a8f82 (exit 0 for every verdict) still works. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
Replace the unsafe libc::killpg in kill_pgid with rustix's safe kill_process_group (Pid::from_raw, Signal::KILL). An invalid pid is now reported as an error; ESRCH stays a non-error. Drops the direct libc dep. Resolves code-scanning alerts 860/861 (code_safety/unsafe_block). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
Hypatia's code_safety/from_raw rule flagged rustix's safe Pid::from_raw. Taking the pid from the Child itself also removes the u32->i32 conversion and its unreachable error path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
# Conflicts: # bots/panicbot/tests/envelope_parity_test.rs
The stdout and stderr reads both waited for the time remaining before the first one started, so staggered pipe holders could block a scan for nearly twice its timeout. Each read now waits only for what is left of the deadline. New tests take ~7.5s before the fix and ~4s after (4s timeout). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
With a reused --bin-dir, a pons (or panic-attack) left by an earlier run survived a refused pin, a failed build or a spent budget. fleet-report-back.sh puts the bin dir on PATH, so ponsbot ran the stale binary instead of reading not_run. Each requested tool's old copy is now removed before deciding; only this run's install or cache restore puts one back. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0136P7ZkERqsQWMogHRpM2z8
|
Review these changes at https://app.gitnotebooks.com/hyperpolymath/gitbot-fleet/pull/730 |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Signed-off-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
|



Summary
Closes #
Type of change
How has this been verified?
Checklist
git commit -S).SPDX-License-Identifier(code/configMPL-2.0,prose
CC-BY-SA-4.0); I did not relicense existing files.Notes for reviewers
Summary by CodeRabbit