fix(noema): remove fixed LLM response timeout - #1511
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughNoema LLM 요청의 고정된 120초 타임아웃을 제거했습니다. ChangesNoema 호출 타임아웃 변경
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: 🔵 Low · up to The change allows legitimate multi-hour model reviews to complete, but a stalled response may keep a review job running until cancellation or platform limits terminate it because no explicit workflow job timeout is configured. The PR is mergeable with owner awareness and follow-up to add a bounded workflow timeout. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 40.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 5 functions across 3 files. (2 skipped: 2 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
| # Noema reviews can legitimately take hours; the workflow owns cancellation. | ||
| with opener.open(request, timeout=None) as response: # nosec B310 |
There was a problem hiding this comment.
|
Closing as superseded: this PR, #1415, #1508, and #1509 all independently fix the same #1415 already has a bounded fix merged into its branch ( Generated by Claude Code |
Summary
urllibresponse timeoutContextualWisdomLab/naruon#1480timeout reproductionsRoot cause
Both Noema jobs
99462790578and99472141106reached a healthy contextual-orchestrator sidecar, thenscripts/ci/noema_review_gate.pyraisedTimeoutError: timed outatopener.open(..., timeout=120). The standing central review contract explicitly allows model reviews to take two hours or more.Verification
120PYTHONWARNINGS=error, plugin autoload disabled:60 passed2 passedgit diff --check: cleanSafety
timeout=Noneremoves the connection/read socket deadline only. Workflow cancellation and concurrency remain authoritative; URL/loopback validation and redirect refusal are unchanged.Summary by CodeRabbit