fix: issue-sandbox crash-looping #122
All Vouch review confidence checks passed
Residual risk 0.04 = Change Risk (0.36) × (1 − Review Confidence (0.90)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 103 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.91 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
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.278
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
3 items
Approved
/lgtm
It would be nice to get tests for the logic to verify the fix. I think going forward, we should move most of the logic for these binaries into libraries (in pkg dir), and add unit tests to the functions in these libraries. Also, we should put some effort into integration tests. Let me know what you think.
/lgtm
> It would be nice to get tests for the logic to verify the fix. I think going forward, we should move most of the logic for these binaries into libraries (in pkg dir), and add unit tests to the functions in these libraries. Also, we should put some effort into integration tests. Let me know what you think.
Sounds reasonable. We definitely need unit tests for all packages as a start.
seans3
barney-s
issue-sandbox was crashlooping due to a couple of logical errors:
1. If gemini commits the changes it made , sub-sequent commit would fail.
2. On restart, branch creation fails since the branch already exists. we fail again.
3. On restart, agent-prompt exists, thereby gemini is not run again and there is no commit change , at which point we fail again.
Overall the logic is brittle and we need ironing out some flows.
commiting change failing: