Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

test: claim-phase probe waits for the seed's worktree lock; export-surface golden for ReservedConnection prepare

time-attack18fd19102e56
diff --git a/test/fixtures/goldens/exports/types.json b/test/fixtures/goldens/exports/types.json
index 723d693c19..be5cf8449a 100644
--- a/test/fixtures/goldens/exports/types.json
+++ b/test/fixtures/goldens/exports/types.json
@@ -3715,7 +3715,7 @@
{
"kind": "interface",
"members": [
- "executeRaw: <T = Record<string, unknown>>(sql: string, params?: unknown[], opts?: { signal?: AbortSignal; }) => Promise<T[]>"
+ "executeRaw: <T = Record<string, unknown>>(sql: string, params?: unknown[], opts?: { signal?: AbortSignal; prepare?: boolean; }) => Promise<T[]>"
],
"name": "ReservedConnection"
},
diff --git a/test/persistence-git-coalescing-5530.slow.test.ts b/test/persistence-git-coalescing-5530.slow.test.ts
index 59c0e31a40..6e55d5ed42 100644
--- a/test/persistence-git-coalescing-5530.slow.test.ts
+++ b/test/persistence-git-coalescing-5530.slow.test.ts
@@ -401,7 +401,7 @@ for (const kind of testBackends()) describe(`#5530 Git effect coalescing (${kind
await activateSharedSkillPersistence(engine, { confirmQuiesced: true });
await seed(ctx('default'), 1);
const binding = (await getWorktreeBinding(engine, 'default', localHostId()))!;
- const held = (await acquireWorktree(binding, 0, undefined, engine))!;
+ const held = (await acquireWorktree(binding, 30_000, undefined, engine))!;
try {
await submitPageMutation(ctx('default'), { operation: 'put_page', waitMs: 1500,
params: { slug: 'notes/lock-held', request_id: randomUUID(), content: pageContent(7777) } }).catch(() => undefined);