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
Add timeout guards to SWE-bench Pro test.sh verifiers
Jest/npm/pytest/go test commands in 5 task verifiers had no timeout,
causing indefinite hangs when individual tests stall (observed:
InteractiveAuthDialog-test.ts hung >2h in element-web task).
Adds `timeout 600` (10min) wrapper to all affected test runners.
Also adds `--forceExit` to jest commands to kill workers immediately
when tests complete (prevents jest from waiting for open handles).
Affected tasks:
- element-web-roomheaderbuttons-can-crash-fix-001 (jest)
- element-web-unread-indicators-diverge-fix-001 (jest)
- vscode-stale-diagnostics-feat-001 (npm test)
- ansible-abc-imports-fix-001 (pytest)
- teleport-users-can-delete-fix-001 (go test)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: benchmarks/csb_sdlc_fix/element-web-roomheaderbuttons-can-crash-fix-001/tests/test.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@ else
147
147
fi
148
148
149
149
echo"Running tests..."
150
-
npx jest --no-cache "test/components/views/dialogs/InteractiveAuthDialog-test.ts""test/components/views/right_panel/RoomHeaderButtons-test.tsx""test/components/views/rooms/RoomHeader-test.ts""test/components/structures/ThreadView-test.ts""test/components/views/settings/shared/SettingsSubsection-test.ts"2>&1| tee test_output.log
150
+
timeout 600 npx jest --no-cache --forceExit"test/components/views/dialogs/InteractiveAuthDialog-test.ts""test/components/views/right_panel/RoomHeaderButtons-test.tsx""test/components/views/rooms/RoomHeader-test.ts""test/components/structures/ThreadView-test.ts""test/components/views/settings/shared/SettingsSubsection-test.ts"2>&1| tee test_output.log
Copy file name to clipboardExpand all lines: benchmarks/csb_sdlc_fix/element-web-unread-indicators-diverge-fix-001/tests/test.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -506,7 +506,7 @@ else
506
506
fi
507
507
508
508
echo"Running tests..."
509
-
npx jest --no-cache "test/test-utils/threads.ts""test/editor/position-test.ts""test/components/views/typography/Caption-test.ts""test/components/structures/UserMenu-test.ts""test/components/views/settings/devices/SelectableDeviceTile-test.ts"2>&1| tee test_output.log
509
+
timeout 600 npx jest --no-cache --forceExit"test/test-utils/threads.ts""test/editor/position-test.ts""test/components/views/typography/Caption-test.ts""test/components/structures/UserMenu-test.ts""test/components/views/settings/devices/SelectableDeviceTile-test.ts"2>&1| tee test_output.log
0 commit comments