Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: keep shutdown test rationale beside its contract

[._.]/ Adam Eivy3b0ca7b32958
diff --git a/server/services/bootstrap.shutdown.test.js b/server/services/bootstrap.shutdown.test.js
index 19e3aa1ed4..a04d15e8e1 100644
--- a/server/services/bootstrap.shutdown.test.js
+++ b/server/services/bootstrap.shutdown.test.js
@@ -114,9 +114,6 @@ describe('shutdown handler — request drain ordering (#8323)', () => {
});
});
-// Issue #11756: the IdeaLoom export debounce is in memory, so shutdown must
-// flush it — after the servers close (nothing can schedule another export),
-// bounded by a grace, overlapping the DB close, and awaited before exit.
describe('shutdown handler — scheduled handlers finish before the DB pool closes', () => {
const code = stripCommentsAndNormalize(extractDeclaration(SRC, 'shutdown') || '');
@@ -133,6 +130,9 @@ describe('shutdown handler — scheduled handlers finish before the DB pool clos
});
});
+// Issue #11756: the IdeaLoom export debounce is in memory, so shutdown must
+// flush it — after the servers close (nothing can schedule another export),
+// bounded by a grace, overlapping the DB close, and awaited before exit.
describe('shutdown handler — IdeaLoom auto-sync flush (#11756)', () => {
const code = stripCommentsAndNormalize(extractDeclaration(SRC, 'shutdown') || '');