Skip to content

Commit e6f54de

Browse files
committed
test(runtime): read the booted-kernel flow rows through the typed trailing read options
The rows probe in automation-write-doors-durable-34145.test.ts erased its engine query options to any, growing the query-options erasure test surface 236 to 237. The context now rides the read's trailing EngineReadOptions, and the where bag is typed by find's own signature. Claude-Session: https://claude.ai/code/session_01FEkQ5kgF3mo9f7LXuv5hac Co-Authored-By: Claude <noreply@anthropic.com>
1 parent fa24e9f commit e6f54de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/runtime/src/domains/automation-write-doors-durable-34145.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ describe('[#34145] booted kernel: a package-less write onto a flow name an enabl
376376
execute: vi.fn(async () => ({ success: true, output: {} })),
377377
};
378378
const rows = async (): Promise<Record<string, { label: string; bytes: string }>> => {
379-
const found = (await engine.find('sys_metadata', { where: { type: 'flow', name: NAME, state: 'active' }, context: { isSystem: true } } as any)) as any[];
379+
const found = await engine.find('sys_metadata', { where: { type: 'flow', name: NAME, state: 'active' } }, { context: { isSystem: true } });
380380
return Object.fromEntries(found.map((row) => [String(row.package_id ?? null), {
381381
label: JSON.parse(String(row.metadata)).label,
382382
bytes: JSON.stringify([row.metadata, row.version, row.checksum ?? null]),

0 commit comments

Comments
 (0)