Update AGENTS.md with subprocess hang defense-in-depth learnings #134
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.54) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.54 · 217 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.322
Shallow Review Depth
shallow_review_depth
0.289
No Reviewer Assigned
no_reviewer_assigned
0.120
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #134"
general
weight: 0.35
RobotSail
Summary
Updates AGENTS.md with 3 learnings from training_hub PRs #132 and #133 (merged July 26, 2026):
1. Practice update:
os._exit()in ART subprocess must be unconditional — a conditional version that only fired on success re-introduced the hang on error paths2. New practice: Parent-side
proc.join(timeout=...)as defense-in-depth —asyncio.run()can hang at a level below the coroutine'sfinallyblock, making subprocess-side fixes alone insufficient3. Reference config: AIPCC 3.5 GA validated stack (torch 2.11.0, art 0.5.18, vllm 0.21.0+rhaiv.10, trl 1.8.0)
Two new incidents added to Past Incidents documenting the progression:
os._exit()regression (#132)proc.join()hang despite subprocess fix (#133)Citations
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Documentation
Clarified guidance for preventing GRPO training shutdown hangs.
Added safeguards for both subprocess exit handling and parent-process timeouts.
Documented two past incidents involving shutdown regressions.
* Added validated dependency versions and verification notes for the RHOAI AIPCC 3.5 GA stack.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->