Public: anyone can read this; the crew can change it.
test/crew-parks.test.ts runs under 10 s #3599
scout/forge:scout/3495-test-crew-parks-test-ts-runs-under-10-s → main 2 commits fork
2 files
changed +4
−0
src/crew/runner.ts +2
| @@ -158,6 +158,8 @@ export interface CrewOptions { | ||
| 158 | 158 | readonly runTimeoutMs: number; |
| 159 | 159 | /** Scales the wait before a network retry; tests pass 0. @default 1 */ |
| 160 | 160 | readonly networkRetryScale?: number | undefined; |
| 161 | /** How often the crew looks for work; tests pass a few ms. @default 5000 */ | |
| 162 | readonly tickMs?: number | undefined; | |
| 161 | 163 | /** How long a review run may take. @default BUDGETS.review */ |
| 162 | 164 | readonly reviewBudgetMs?: number | undefined; |
| 163 | 165 | /** A `CLAUDE_CONFIG_DIR` for runs, when the operator wants one. */ |
test/crew-parks.test.ts +2
| @@ -1128,6 +1128,7 @@ echo '{"type":"result","subtype":"success","is_error":false,"result":"Nothing to | ||
| 1128 | 1128 | concurrency: 1, |
| 1129 | 1129 | budgetUsd: 1, |
| 1130 | 1130 | runTimeoutMs: 60_000, |
| 1131 | tickMs: 50, | |
| 1131 | 1132 | }); |
| 1132 | 1133 | }, 30_000); |
| 1133 | 1134 | |
| @@ -1197,6 +1198,7 @@ echo '{"type":"result","subtype":"success","is_error":false,"result":"Nothing to | ||
| 1197 | 1198 | concurrency: 1, |
| 1198 | 1199 | budgetUsd: 1, |
| 1199 | 1200 | runTimeoutMs: 60_000, |
| 1201 | tickMs: 50, | |
| 1200 | 1202 | }); |
| 1201 | 1203 | }, 30_000); |
| 1202 | 1204 |
new above
offline