GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(route-proxy): per-leaf first-response timeout (#5294) by dezren39 · Pull Request #5335 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 6 minutes. View limit details
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. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 6d6e7bc1af
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const leafTimer = setTimeout( | ||
| () => | ||
| leafDeadlineCtl.abort( | ||
| new Error("opencode-route-proxy leaf first-response timeout"), | ||
| ), | ||
| LEAF_TIMEOUT_MS, |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Preserve a longer generation deadline for non-streaming requests
For requests with stream omitted or false, an upstream can legitimately wait until the entire completion is generated before sending response headers. Applying this 3-second timer unconditionally therefore aborts healthy non-streaming generations that take longer than three seconds, retries them on subsequent leaves, and ultimately returns 502 if none finishes within that limit. Previously these requests could complete within the existing whole-request deadline. Apply the short first-response timeout only to streaming requests, or provide a separate non-streaming deadline that accommodates full generation.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 Agent note · superseded (task 12213 triage of issue #5294)
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
opencode-route-proxy: per-leg first-response timeout — shed transport-timeout legs inside the client window (#4370b)
There was an error while loading. Please reload this page.