fix(responses): honor outbound proxy routing for upstream WebSocket - #3686
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
|
✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 71 / 80이 PR은 Codex upstream WebSocket이 설정된 outbound 프록시를 무시하고 직접 dial하던 구멍을 막습니다. 지금 HEAD의 베이스는 기업망·강제 프록시 환경에서 Codex WSS만 빠져나가면, HTTP는 프록시를 타는데 WS만 직행하는 보안/연결 불일치가 납니다. identity에 proxy를 넣은 것도 중요합니다. 안 넣으면 프록시가 바뀐 뒤에도 풀이 옛 egress를 재사용합니다. A 레인 2층으로서 부모 SSE hang 수정 위에 올려야 원인 분리가 됩니다. 경로/심볼 경로 경로 경로 경로 의존 경로 원본 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
|
Owner-authorized admin merge of #3686, carrying #3679 with original contributor commits and attribution preserved. Exact head: e132781. All functional producers in full cross-platform run https://github.com/lidge-jun/opencodex/actions/runs/33981581047 succeeded, including all Linux/macOS/Windows suite jobs, unsharded macOS control, type/privacy gates and platform smokes. Any remaining queued ci aggregation is evaluated directly by its success/skipped allowlist; no unexecuted tests or failures are bypassed. Independent implementation/security review passed. Foundation restacking preserved the complete layer diff byte-for-byte and retained original contributor commits. Child retargeting precedes auto-deletion. Final dev inclusion will be checked immediately after merge. Co-authored-by: Clive Rosfield 64878945+S0RYUASUKA@users.noreply.github.com |
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. |
Summary
Upstream Codex WebSockets previously dialed without the configured outbound proxy. Carry #3679 so both one-shot and retained sessions resolve HTTPS_PROXY/ALL_PROXY and NO_PROXY before dialing, fall back before dispatch for unsupported proxy routes, and replace a pooled session when its proxy route changes. Reuse the existing NO_PROXY matcher for provider discovery.
Original contributor commit and author preserved. The config.ts edit clarifies precedence in a comment; it does not change config persistence.
Stack (merge bottom-up):
Depends on #3683. Review this layer's diff only.
Verification
git diff --checkpassed; original source author and -x provenance retained.10fbda2e031230d57873b5afb828324c18ae090f: combined SSE/WS focused checks 186 pass, 2 expected skips (older-runtime branch and Windows-only probe), 0 fail; typecheck passed.Checklist
Co-authored-by: Clive Rosfield 64878945+S0RYUASUKA@users.noreply.github.com
Verification update: the additional manual full-CI run on this pre-repair head was cancelled after existing Windows shutdown-spill fixture defects were identified. Normal PR verification and captured logs are retained. A separate deterministic fixture repair will be inserted beneath the stack; required CI will be rerun on refreshed heads before admin merge. No passing full-Windows claim is made.
Current stack verification: head
e132781fbe4c572b76d68efd69adc2b85209174e, basecodex/a-01-sse. Foundation #3696 is included; all five layer diffs are byte-identical to their independently reviewed pre-foundation diffs, and original contributor commits remain ancestors. Prior focused results above are pre-restack evidence. Current-head full CI: https://github.com/lidge-jun/opencodex/actions/runs/33981581047 . Required completion is pending; admin merge remains bottom-up.