You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Improve browser task isolation and resource management
- 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
0 commit comments