Repository navigation
[codex] Retry safe Responses stream failures - #8990
Open
gebdalaoli-arch wants to merge 1 commit into
Open
gebdalaoli-arch wants to merge 1 commit into
gebdalaoli-arch wants to merge 1 commit into
Conversation
gebdalaoli-arch
marked this pull request as ready for review
November 20, 2026 12:29
Contributor
Author
|
这项改动在上游 Responses 流报错时,换一个 API key 重试一次。仅在尚未向客户端输出、且请求可安全重放时生效;已输出或带服务端工具、续接历史的请求不会重放。 最新提交 f0d1d6a 的检查已完成:8 项通过、1 项跳过,无失败。PR 已转为可审,麻烦审核,确认没问题后请合并,谢谢。 |
riofutab
added a commit
to riofutab/sub2api
that referenced
this pull request
Nov 21, 2026
- 带入上游安全修复:同名字段重复且取值不一致的请求体在白名单之后统一拒绝,覆盖全部网关分组链 - 同步上游 v0.2.24 新合并的 PR:联网搜索 Exa 与来源回填、alpha/search 403 不罚账号、DeepSeek thinking 续接、System One 模型映射等;Wei-Shaw#8858 取代 fork 带的 Wei-Shaw#8860 - Wei-Shaw#8868、Wei-Shaw#8870、Wei-Shaw#8979 冲突处保留 fork 的等价实现并带入上游测试;Wei-Shaw#8900 与 fork 带的 Wei-Shaw#7935 重叠,未合入 - 合入开放 PR Wei-Shaw#8994 Wei-Shaw#8987 Wei-Shaw#8990 Wei-Shaw#8997,其中 Wei-Shaw#8997 截断 Gemini 泄漏的下一轮用户消息 测试:后端全量 unit 与 golangci-lint、前端 lint/typecheck/vitest 通过,CI 含 integration 全绿
xiaoguai1818
pushed a commit
to xiaoguai1818/sub2api
that referenced
this pull request
Nov 21, 2026
Restore Antigravity Responses custom-tool roundtrips and correct Embeddings platform scheduling. Harden OAuth probe fencing, request-scoped Gemini 403 behavior, OpenAI stream failover and WebSocket current-turn safety. Preserve Claude/GPT-6.2/Grok protocol details and model observations; correct Fable/Kimi quota refreshes and user-vs-account cost reporting. Bound scheduler fallback, request memory retention and shutdown/stream lifecycles without unapproved pricing or schema changes. Local checks: complete Go unit packages, PostgreSQL 18.1/Redis 8.4 repository and audit integration, focused -race, frontend typecheck/lint/1858 Vitest/build, backend lint 0 issues and embedded server build. Remote CI/Security Scan remain pending. Upstream references: Wei-Shaw/sub2api Wei-Shaw#8833 Wei-Shaw#8875 Wei-Shaw#8856 Wei-Shaw#8730 Wei-Shaw#8990 Wei-Shaw#8806 Wei-Shaw#8832 Wei-Shaw#8809 Wei-Shaw#8164 Wei-Shaw#8804 Wei-Shaw#8773 Wei-Shaw#8309.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switches to one other API key when a replayable Responses stream fails before output reaches the client. Requests with server-side tools, continuation history, or delivered output are not replayed.
Checks: replay-policy tests, stream failover integration tests, existing key retry regression tests, and server build.