Improve delegate (#377)
* Improve delegate * fix stale log regexes in delegate tests and add test-coupling comments Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
pullfrog[bot]
parent
a7bd746f21
commit
2017922780
@@ -192,6 +192,7 @@ export async function spawn(options: SpawnOptions): Promise<SpawnResult> {
|
||||
|
||||
if (isActivityTimedOut) {
|
||||
const idleSec = Math.round((performance.now() - lastActivityTime) / 1000);
|
||||
// matched by delegateTimeout test validator — update tests if changed
|
||||
reject(new Error(`activity timeout: no output for ${idleSec}s`));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user