Skip to content

[Bug]: Chrome MCP leaves dangling promises on target browser crash #101070

Description

@aniruddhaadak80

Description

In extensions/browser/src/browser/chrome-mcp.ts, CDP message correlation and sleepTimeout await paths fail to reject if the target Chrome instance crashes during a paused breakpoint event. The promises remain pending indefinitely, leaking memory and halting the agent's browser automation flow.

Impact

Agent halts indefinitely (impact:session-state) and memory leaks occur when Chrome crashes unexpectedly.

Location

  • extensions/browser/src/browser/chrome-mcp.ts

Metadata

Metadata

Assignees

Labels

P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:crash-loopCrash, hang, restart loop, or process-level availability failure.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

Type

No type

Fields

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions