fix(nim): close consumed benchmark error responses - #1155
Conversation
|
Warning Review limit reachedNext included review available in 24 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Restacked on the updated base branch ( 🤖 Addressed by Claude Code |
26e6c7a to
51366a6
Compare
Scope and dependency
Draft stack on #1090. This is not independently merge-ready: #1140 separately owns inherited ModelClient.chat final-classification closure. Its implementation is neither copied nor amended here; no predecessor is closed.
Repair
RED e2c06a3 adds two retained HTTPError closure cases, both failing. Initial source dda57de classifies consumed errors before closing at run_policy_cell; follow-up 7ff2c8e generalizes protection. Cleanup Exception cannot replace provider_http_error:503 or the null raw score; BaseException propagates. Propagated contract/budget/auth errors retain caller ownership. The direct proxy test closes its caller-owned response.
Evidence
Hosted follow-up for current head
dfd9d5e4b69b7b517460245ce4858677f5602ccf:Security run 34705849987
completed all three jobs successfully. Quality job 103585663660 checked out
merge
492b480of this head into2bf856cdaa3756ba6e729479b0cbdc6109d065d9:3,637 passed, 2 skipped in 761.18s; separate benchmark coverage invocation
178 passed in 16.05s. Built core wheel SHA-256
3502786a41c6faa3d48a7bd8fc508dbe45e2f2be7c7bc776c03a7c61f03906ca.The hosted full suite does not enable warnings-as-errors, so this does not
resolve the separately recorded strict sibling failure. No GitHub review or
protected merge is established; PR remains Draft with the #1140 dependency.
Final exact head
dfd9d5e4b69b7b517460245ce4858677f5602ccf: focused strict benchmark module 138 passed in 9.07s, terminal exit 0. No source changed during this run.Follow-up review identified general cleanup exception masking. RED
f67db9c2: RuntimeError case failed (1 failed, 2 passed, 135 deselected, 0.64s). Source7ff2c8e7catches Exception, not BaseException, at the cleanup boundary; 138 passed in 5.30s. Intermediate46ccd25efailed collection because of indentation, corrected in7ff2c8e7. No #1140 implementation is copied or changed.AGENTS, CLAUDE, owner doctoring and Gap retain historical exact-head RED/GREEN boundaries. Hosted acceptance above supplements those local records. No strict full-suite acceptance, protected merge, release, deployment, observed accuracy gain or decision-latency gain is claimed.
Visual receipt: actual browser PR body and production source diff were captured and directly inspected at final head dfd9d5e, 1265×712, English, desktop. The Exception cleanup handler and preserved outcome fields were readable with no observed text overlap. This is limited PR/document rendering inspection, not full product UI, mobile or locale acceptance.