Repository navigation
fix(browser): tighten bridge diagnostics - #83382
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. Current main source shows the single-casing 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 choices:
Next step before merge Security Review detailsBest possible solution: Undraft or update the branch to current Do we have a high-confidence way to reproduce the issue? Yes. Current main source shows the single-casing Is this the best way to solve the issue? Yes. The patch stays inside the browser plugin, fixes the implicated proxy-env and diagnostic seams directly, and avoids changing browser auth, binding, permissions, or network capability. What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against cd15ce35a0ee. |
Summary
NO_PROXYcasing variants and could expose home-relative Chrome MCP profile paths in attach-failure output.NO_PROXYcasings, made restore avoid clobbering concurrent env changes, and redacted home-relative Chrome MCP profile/user-data diagnostics.Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Real behavior proof (required for external PRs)
impact/browser-bridge-followup.OPENCLAW_LOCAL_CHECK_MODE=throttled node scripts/run-vitest.mjs extensions/browser/src/browser/cdp-proxy-bypass.test.ts extensions/browser/src/browser/chrome-mcp.test.tsOPENCLAW_LOCAL_CHECK_MODE=throttled pnpm --config.verify-deps-before-run=false check:changed --timedNO_PROXYcasing, concurrentno_proxydeletion, home-relative user data dir redaction, and home-relative timeout profile label redaction.2files /51tests; changed gate passed.Root Cause (if applicable)
NO_PROXY || no_proxyvalue, and Chrome MCP timeout/attach diagnostics reused raw profile labels or user-data paths.NO_PROXYcasing, concurrent lowercase env mutation, or home-relative Chrome MCP diagnostic labels.Regression Test Plan (if applicable)
extensions/browser/src/browser/cdp-proxy-bypass.test.tsextensions/browser/src/browser/chrome-mcp.test.tsNO_PROXYcasings and redact home-relative Chrome MCP diagnostic paths/labels.User-visible / Behavior Changes
Browser/CDP attach diagnostics now redact home-relative Chrome profile paths, and localhost proxy bypass is more robust when both uppercase and lowercase proxy env vars exist.
Diagram (if applicable)
N/A.
Security Impact (required)
Yes/No) NoYes/No) NoYes/No) NoYes/No) NoYes/No) NoYes, explain risk + mitigation: N/ARepro + Verification
Environment
Steps
Expected
NO_PROXYcasings and restores only untouched env state.Actual
Evidence
Human Verification (required)
check:changedon the rebased branch.NO_PROXYcasing, concurrent lowercase env deletion, CDP URL secret redaction, home-relative Chrome profile/user data diagnostics.Review Conversations
N/A.