Skip to content

Commit 63e2ee7

Browse files
committed
test(audit): the export writer's test types its ledger read; the swallow census copies the new durability callee
Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016WV4cxfxbKV82MKKQzizpP
1 parent d2f3695 commit 63e2ee7

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/plugins/plugin-audit/src/data-export-audit.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('[#30955] the export writer on the real `audit` slot', () => {
6767

6868
/** The export rows at rest, oldest first. */
6969
const exportRows = async (): Promise<Array<Record<string, any>>> =>
70-
(await engine.find(LEDGER, { where: { action: DATA_EXPORT_AUDIT_ACTION }, orderBy: [{ field: 'created_at', order: 'asc' }], context: SYS } as any)) as any;
70+
(await engine.find(LEDGER, { where: { action: DATA_EXPORT_AUDIT_ACTION }, orderBy: [{ field: 'created_at', order: 'asc' }], context: SYS })) as Array<Record<string, any>>;
7171

7272
beforeAll(async () => {
7373
kernel = new ObjectKernel({ logger: { level: 'silent' } });

‎scripts/measure-durability-swallow-family.mjs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ const WRITE_SHAPED_CALLEES = new Map([
328328
['persistReadAuditRows', 'gate-vocabulary'],
329329
['persistAuthEventAuditRow', 'gate-vocabulary'],
330330
['persistActionInvocationAuditRow', 'gate-vocabulary'],
331+
['persistDataExportAuditRow', 'gate-vocabulary'],
331332
['deleteMetaItemFromLoader', 'gate-vocabulary'],
332333
['persistPackageCommitRow', 'gate-vocabulary'],
333334
['persistSeedTenancyReceiptRow', 'gate-vocabulary'],

0 commit comments

Comments
 (0)