Skip to content

fix: update chrome-cdp for multi-instance browser support#87

Open
sonesuke wants to merge 1 commit intomainfrom
fix/browser-lifecycle
Open

fix: update chrome-cdp for multi-instance browser support#87
sonesuke wants to merge 1 commit intomainfrom
fix/browser-lifecycle

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

Summary

  • Update chrome-cdp dependency to include browser lifecycle fixes
  • Add --disable-dev-shm-usage for Docker/devcontainer compatibility
  • Add --no-zygote for multi-instance isolation
  • Clean up temp user-data-dir on drop to prevent resource leaks
  • Clean up orphaned chrome-* temp dirs on startup
  • Call process.wait() after kill() to prevent zombie processes

Test plan

  • Verify multiple CLI instances can run simultaneously without port conflicts
  • Verify Chrome processes are properly cleaned up after CLI exits
  • Verify no orphaned chrome-* directories remain in /tmp/

Depends on: sonesuke/chrome-cdp#30

🤖 Generated with Claude Code

- Add --disable-dev-shm-usage for Docker compatibility
- Add --no-zygote for multi-instance isolation
- Clean up temp user-data-dir on drop
- Clean up orphaned chrome-* temp dirs on startup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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