Artifact
void db.insert(privacyEvents).values({ agentId: opts.agentId ?? null, source: opts.source ?? 'sync', findings: opts.result.findings, durationMs: opts.durationMs ?? null, }) .catch(() => { // Non-fatal — schema errors here silently produce zero rows, // not a 500. This is what makes the journal-omission bug // surface as 'expected 0 to be greater than or equal to 1'. })
3112039f-97bd-430b-bf65-28e96ad893d2
void db.insert(privacyEvents).values({ agentId: opts.agentId ?? null, source: opts.source ?? 'sync', findings: opts.result.findings, durationMs: opts.durationMs ?? null, }) .catch(() => { // Non-fatal — schema errors here silently produce zero rows, // not a 500. This is what makes the journal-omission bug // surface as 'expected 0 to be greater than or equal to 1'. })