Fix multi-iteration GRPO with art 0.5.18 #135
All Vouch review confidence checks passed
Residual risk 0.38 = Change Risk (0.58) × (1 − Review Confidence (0.34)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.58 · 192 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.315
No Reviewer Assigned
no_reviewer_assigned
0.120
Rapid Merge
rapid_merge
0.100
Real PR Conversation Timeline
1 comments
"Review active on #135"
general
weight: 0.35
RobotSail
Summary
Fixes multi-iteration GRPO training with art 0.5.18. Previously, training would exit after 1 iteration instead of completing all configured iterations.
Root Cause
Two issues:
1. Unconditional
os._exitinfinallyblock (from v0.9.5): Whenmodel.train()raisedAttributeError(see #2), thefinallyblock in_run_trainingcalledos._exit(0)unconditionally, killing the subprocess before the loop could continue. Reverted to conditional (if result is not None), since the parent-side join timeout from v0.9.6 handles the hang independently.2.
model.train()API removed in art 0.5.18:TrainableModel.train()was removed in art 0.5.18. The replacement isbackend.train(model, trajectory_groups, learning_rate=...). Added ahasattrcheck to use the correct API for both art 0.5.17 and 0.5.18.Verification
Tested on H100 with 3-iteration GRPO (AIPCC GA stack, art 0.5.18):
All 3 iterations completed, process exited cleanly.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Bug Fixes
Improved training subprocess shutdown behavior to avoid unnecessary forced exits.
* Added compatibility with multiple supported training API formats, improving training reliability across configurations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->