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(tests): raise server import-budget ceiling to clear pre-existing main drift

[._.]/ Adam Eivy597f2cacec19
diff --git a/server/lib/importScoping.test.js b/server/lib/importScoping.test.js
index e087451406..98b5fe49bc 100644
--- a/server/lib/importScoping.test.js
+++ b/server/lib/importScoping.test.js
@@ -905,7 +905,11 @@ describe('heavy test imports stay hoisted to file scope (#7951)', () => {
// 116,500 -> 116,600 (reviewer configuration health): the health route's
// code-review mock adds 47 measured static instantiations across the suite;
// the production route keeps the service import dynamic to avoid that graph.
-const MAX_STATIC_INSTANTIATIONS = 116900;
+// 116,900 -> 117,300 (parallel-merge drift, unrelated to any single PR): main
+// itself measures 116,920, already 20 over the prior ceiling before this
+// change adds anything — see #7993 for the base-relative guard that would
+// make this fixed number unnecessary. Restores the ~400 headroom convention.
+const MAX_STATIC_INSTANTIATIONS = 117300;
const SKIP_DIRS = new Set(['node_modules', 'coverage', 'dist', 'data']);