BrowserUse_and_ComputerUse_.../tools/environments
Blake Johnson c6df39955c fix: limit concurrent Modal sandbox creations to avoid deadlocks
- Add max_concurrent_tasks config (default 8) with semaphore in TB2 eval
- Pass cwd: /app via register_task_env_overrides for TB2 tasks
- Add /home/ to host path prefixes as safety net for container backends

When all 86 TerminalBench2 tasks fire simultaneously, each creates a Modal sandbox
via asyncio.run() inside a thread pool worker. Modal's blocking calls deadlock
when too many are created at once. The semaphore ensures max 8 concurrent creations.

Co-Authored-By: hermes-agent[bot] <hermes-agent[bot]@users.noreply.github.com>
2026-03-07 14:02:34 -08:00
..
__init__.py feat(environments): add Daytona cloud sandbox backend 2026-03-05 10:02:21 -08:00
base.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00
daytona.py fix(daytona): use shell timeout wrapper instead of broken SDK exec timeout 2026-03-05 13:12:41 -08:00
docker.py fix(docker): remove --read-only and allow exec on /tmp for package installs 2026-03-02 01:09:34 -08:00
local.py merge: resolve conflict with main (keep fence markers + _find_shell) 2026-03-03 14:50:45 +03:00
modal.py fix: limit concurrent Modal sandbox creations to avoid deadlocks 2026-03-07 14:02:34 -08:00
singularity.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00
ssh.py feat: enhance README and improve environment configuration 2026-02-23 21:15:35 -08:00