Skip to content

Conversation

@maceip
Copy link
Contributor

@maceip maceip commented Mar 24, 2025

No description provided.

michiosw and others added 5 commits March 14, 2025 11:16
- Create isolated browser contexts for each task to prevent conflicts
- Replace global browser context with task-specific instances
- Add proper resource cleanup in finally blocks to prevent memory leaks
- Extract hardcoded values as constants for better maintainability
- Add comprehensive type hints throughout the codebase
- Improve error handling and logging
- Reorganize imports and improve code structure
- Update Dockerfile to use Playwright's bundled browser instead of custom Chrome
- Ensure each task runs in its own isolated environment with unique debugging ports
- Fix potential race conditions when multiple tasks access the same context
- Removed extra empty lines in Dockerfile (lines 16, 69, 72)
- Implemented Docker secrets for VNC password with fallback mechanism
- Created centralized environment variable handling with init_configuration()
- Fixed import errors by updating to langchain_core
- Kept Any type annotations where browser-use specific types weren't accessible
- Added server startup sanity checks for port, dimensions, expiry time
- Removed redundant src directory
- Updated README with Docker secrets instructions
fix:  browser kill after first task completion caused by context reset
@maceip maceip merged commit ed7a251 into dev Mar 24, 2025
6 checks passed
@michiosw
Copy link
Contributor

michiosw commented Apr 9, 2025

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants