Skip to content

Commit abd22b3

Browse files
committed
🤖 fix: include dist/ in terminal-bench archive to fix worker crash
The terminal-bench agent was crashing immediately on startup because: 1. Archive only packaged src/ but not dist/ 2. Setup script never ran build 3. Worker threads need dist/utils/main/tokenizer.worker.js 4. Missing worker caused all 17+ tasks to timeout after 30min Fix: Add 'dist' to _INCLUDE_PATHS so pre-built worker files are included. The workflow already runs 'make build' during CI setup, so dist/ exists and just needs to be packaged. This adds no per-task overhead.
1 parent 7a797e2 commit abd22b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

benchmarks/terminal_bench/cmux_agent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class CmuxAgent(AbstractInstalledAgent):
3333
"tsconfig.json",
3434
"tsconfig.main.json",
3535
"src",
36+
"dist",
3637
)
3738

3839
_PROVIDER_ENV_KEYS: Sequence[str] = (

0 commit comments

Comments
 (0)