Skip to content

fix: avoid extension bootstrap hangs#519

Closed
edxeth wants to merge 1 commit intoChromeDevTools:mainfrom
edxeth:fix-metamask-bootstrap
Closed

fix: avoid extension bootstrap hangs#519
edxeth wants to merge 1 commit intoChromeDevTools:mainfrom
edxeth:fix-metamask-bootstrap

Conversation

@edxeth
Copy link
Copy Markdown

@edxeth edxeth commented Nov 3, 2025

Summary

  • add filtered Target.setAutoAttach setup with short “first page attached or timeout” race so MetaMask-heavy sessions no longer stall bootstrap
  • filter extension/devtools URLs out of list_pages by default, expose stable JSON payload, and plumb new CLI flags (--includeExtensionTargets, --bootstrapTimeoutMs, --verboseBootstrap)
  • add automation (npm run test:remote) + docs/tests updates and extra logging to keep behavior transparent and configurable

Testing

@google-cla
Copy link
Copy Markdown

google-cla Bot commented Nov 3, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@edxeth edxeth force-pushed the fix-metamask-bootstrap branch from 9f9f3f4 to 69b3594 Compare November 3, 2025 21:24
@OrKoN OrKoN closed this Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants