Phase 9: Faster Write-Back (CAL-15) — event-driven outbox drain #14

Merged
luckberg merged 26 commits from gsd/phase-09-faster-write-back into main 2026-06-12 21:19:17 -04:00
Showing only changes of commit b7767af825 - Show all commits
+1
View File
@@ -881,6 +881,7 @@ export function stopOutboxTrigger(): void {
* relying on the previous test having drained cleanly. Not for production use.
*/
export function __resetDrainState(): void {
if (process.env.NODE_ENV === 'production') return; // test-only; never clear the guard in prod
isDraining = false;
drainRequested = false;
}