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 |
|
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This PR stays in draft until every box above is ticked. |
리뷰 · 우선순위 52 / 80설명 이 PR은 관련 이슈 #2894의 Phase 1A 조각이다. 서버 전역 닿는 면이 넓다. 새 #2894 본문이 요구하는 SOCKS5·제공자별 “direct”·Omniroute식 3단 선택까지는 이번 조각에 없다. Phase 1A라고 문서·에러 메시지에 명시해 둔 점은 정직하다. 다만 hygiene가 라인 / 경로 관찰
hygiene / PR 상태 - draft, 체크리스트 0/4, mergeable UNKNOWN, 전체 스위트 미증언. 관련 #2894의 SOCKS·per-provider direct는 후속 Phase로 남아 이 PR만으로 이슈를 닫으면 안 된다. 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
7fd3a1c to
99e84e8
Compare
|
Cross-platform validation for head Please provide maintainer/security review of explicit provider proxy precedence over inherited The current This remains the HTTP(S)-only Phase 1A contribution related to #2894, not completion of that issue. |
99e84e8 to
cae8585
Compare
…rebase Manual conflict resolution retains provider auto-review validation and modern send-budget dispatch hooks. Static source review only; connected-host tests and builds were not run. Co-authored-by: shenghuojiushiheyang <shenghuojiushiheyang@outlook.com>
cae8585 to
a2e848d
Compare
|
Sponsored. Reviewed the restricted touch only: A proxy URL can carry This label covers the security boundary in |
* docs(proxy): align SOCKS5 HTTP/SSE routing documentation The proxy-format, adapter, provider-configuration, and provider-guide pages claimed HTTP/SSE never uses ALL_PROXY. Configured outbound fetch actually selects the built-in SOCKS5 tunnel for an explicit SOCKS5 proxy or a SOCKS5 ALL_PROXY when NO_PROXY does not exempt the target (src/lib/proxy-env.ts). Correct the four English pages and the seven translated provider-configuration copies that carry the claim, link the server configuration reference, and record the alignment contract in the docs structure owner. Coordinated with open draft #3901, which owns provider-specific proxy fields untouched here. Closes #5119 * docs(proxy): correct NO_PROXY and fake-IP gate semantics in SOCKS5 docs Review resolution on the SOCKS5 documentation alignment: - A server SOCKS5 proxy configured with config.proxy is written to ALL_PROXY at startup (src/config/proxy-env.ts), so both configured and inherited SOCKS5 routes honor NO_PROXY; only the per-request RequestInit.proxy override skips it. Stop conflating the two. - The fake-IP accommodation gate counts a SOCKS5 ALL_PROXY because effectiveProxyFor selects it; only a non-SOCKS ALL_PROXY does not count. Corrected in all four English pages and all seven locale copies. DNS/pinning and private-address guard caveats preserved.
Summary
proxysetting for explicit HTTP(S) proxy routing.proxy/noProxybehavior when the field is omitted.Related to #2894
Verification
bun run typecheckbun test tests/lib/provider-egress.test.ts tests/providers/provider-egress-outbound.test.ts tests/providers/provider-outbound.test.ts tests/providers/provider-outbound-private-network.test.ts tests/responses/provider-egress-fetch.test.ts tests/providers/provider-config-validation.test.ts tests/server/management-provider-validation.test.ts(180 pass, 0 fail)bun run privacy:scandevChecklist
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
All CI tests are green on my local testing.
I pushed my PR to the latest dev commit.
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.