Repository navigation
fix(feishu): disable ambient proxy inheritance for websocket by default - #84702
googlerest wants to merge 4 commits into
Conversation
|
Codex review: needs maintainer review before merge. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: yes. at source level. Current main unconditionally resolves an ambient proxy agent for Feishu WebSocket creation, and the PR body supplies after-fix local WSS/proxy output for the same transport boundary. PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. Real behavior proof Risk before merge
Maintainer options:
Next step before merge Security Review detailsBest possible solution: Land this Feishu-owned direct-by-default policy only after maintainer approval of the upgrade and egress-boundary tradeoff, then use this PR as the canonical fix for the linked bug and close older duplicate attempts. Do we have a high-confidence way to reproduce the issue? Yes, at source level. Current main unconditionally resolves an ambient proxy agent for Feishu WebSocket creation, and the PR body supplies after-fix local WSS/proxy output for the same transport boundary. Is this the best way to solve the issue? Mostly yes. The code change is narrow and Feishu-owned, with docs and tests, but direct-by-default behavior is an upgrade and egress-policy choice that maintainers should explicitly accept. Label changes:
Label justifications:
Security concerns:
Acceptance criteria:
What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 23c58081d062. |
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
|
Addressed the ClawSweeper findings in
Verification rerun: @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
fdd1ed5 to
3eb63f0
Compare
|
Rebased the PR branch onto current New head: Local verification after rebase: @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
db8db65 to
d540d5b
Compare
d540d5b to
8245167
Compare
8245167 to
77b3f4b
Compare
|
Superseded by #90324, which is a clean rebase of the same fix onto current main. |
Summary
OPENCLAW_FEISHU_WS_USE_PROXY=1as the explicit opt-in for Feishu WS proxy routing.Closes #65799.
Real behavior proof
HTTPS_PROXY/https_proxyby default. It should only use ambient proxy env whenOPENCLAW_FEISHU_WS_USE_PROXY=1.@larksuiteoapi/node-sdkWSClient, real@openclaw/proxylineambient proxy agent, local TLSwss://server, local HTTP proxy recordingCONNECT.wss://127.0.0.1:<port>WebSocket server and temporary HTTP proxy, setshttps_proxy=http://127.0.0.1:<proxyPort>, then connects once without a WS agent and once with the ambient proxy agent.Verification