You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify when reset recovery publishes replacement headers #8347
docs-site/src/content/docs/reference/configuration/providers.md and translated provider references.
What is wrong or missing?
The proposed #8292 documentation says a reset or EOF before the response head is returned causes the replacement to supply its own status and headers. The replacement can instead arrive after the selection deadline, when the original head is already committed.
What should the documentation explain instead?
Replacement metadata is published only if the replacement itself is selected before the head is committed. After commitment, the replacement must match the original status and complete headers or the original stream is retained. Align all translations.
Suggested wording or example
Describe the response-selection deadline in terms of when the replacement is selected, rather than only when the reset or EOF occurs.
Additional context or attachments
Independent review of #8292 at fba8261; the selection boundary is in src/server/responses/combo-stream-preflight.ts.
Status (sweep lane): still present at #8292 head cfe670c. docs-site/src/content/docs/reference/configuration/providers.md (~L447 on that head) says "If the reset or EOF happens before that head is returned, the client receives the replacement with its own status and headers". The boundary is when the replacement is selected (combo-stream-preflight.ts), not when the reset happens.
Suggested wording: "The replacement supplies its own status and headers only if it is selected before the original head is returned. If the original head was already returned, the replacement is used only when its status, status text and complete headers match that head; otherwise the original stream and its error are kept." The seven translated providers.md pages need the same change.
The text exists only on #8292's branch, so this is blocked on #8292 landing (or that lane folding it in).
Activity
lidge-jun commentedon Nov 9, 2026
Status (sweep lane): still present at #8292 head cfe670c.
docs-site/src/content/docs/reference/configuration/providers.md(~L447 on that head) says "If the reset or EOF happens before that head is returned, the client receives the replacement with its own status and headers". The boundary is when the replacement is selected (combo-stream-preflight.ts), not when the reset happens.Suggested wording: "The replacement supplies its own status and headers only if it is selected before the original head is returned. If the original head was already returned, the replacement is used only when its status, status text and complete headers match that head; otherwise the original stream and its error are kept." The seven translated providers.md pages need the same change.
The text exists only on #8292's branch, so this is blocked on #8292 landing (or that lane folding it in).
Merge origin/dev into fix/8343-8347-reset-selection-deadline
fix(responses): count reset selection against the buffered turn ceili…