fix: make onboarding bootstrap atomic

This commit is contained in:
ZacharyZhang-NY committed 2026-04-23 20:43:44 -04:00
1 parent d21edb244f
commit c779fc2858
6 files changed
+286 -104

No files matched your search

@@ -43,7 +43,10 @@ function createBootstrapHarness(db: AppDatabase) {
db,
seedDefaultAutomationRules: noop,
publishDomainChanged: noop,
queueTaskRun: () => ({ ok: true, data: "run-1" }),
createTaskRunForDeferredDispatch: () => ({
ok: true,
data: { runId: "run-1", dispatchAfterCommit: noop },
}),
});
}