Repository navigation
fix(fusion): stop drafts after incomplete visible tests - #1032
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesStop one-shot and refined Fusion drafts when visible tests return an incomplete result. Example: A generated patch contains while (true) {} and the visible-test watchdog terminates it.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR fixes draft paths that still ignore incomplete visible tests on main; no actionable introduced defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe experimental Fusion benchmark sends model-generated edits into isolated sandboxes, checks visible tests, and passes completed candidates to contract verification and independent acceptance grading. flowchart TD
A[Benchmark runner] --> B[Draft model request]
B --> C[Apply edits in sandbox]
C --> D[Visible tests]
D --> E[Complete result continues verification]
D --> F[Incomplete result throws]
F --> G[Sandbox cleanup]
Technical reviewBest possible solution: Land the two validity guards in the existing draft owners, preserving cleanup and recovery from complete assertion failures. Do we have a high-confidence way to reproduce the issue? Main visibly ignores the checker's validity verdict at both draft boundaries; the supplied native regression exercises a watchdog-terminated infinite loop, although its execution was not independently repeated. Is this the best way to solve the issue? The guards are the smallest complete fix for the stated draft behavior, using the existing validity verdict, finite error code, propagation, and sandbox cleanup. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1d05a345bbea. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 13, 2026, 8:59 AM ET / 13:59 UTC. |
Summary
Stop one-shot and refined Fusion drafts when visible-test execution is incomplete. A watchdog-terminated candidate now throws
incomplete_test_runbefore another draft, a probe, or fallback inference. Complete assertion failures retain their correction and fallback paths.Verification
Deployment and risk
Benchmark-only change; no release, deployment, production routing, or default changes. Incomplete runs now terminate instead of consuming more model calls. No model-performance gain is claimed.