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
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
memoize the tracked-manifest git listing so the always-run guard spawns git once
[._.]/ Adam Eivycdda392106fb
diff --git a/server/lib/generatedManifests.test.js b/server/lib/generatedManifests.test.jsindex d9835e86fb..878dc7a1cd 100644--- a/server/lib/generatedManifests.test.js+++ b/server/lib/generatedManifests.test.js@@ -72,10 +72,13 @@ export const findPositionalReferences = (value, path = '$') => {// `git ls-files` prints POSIX separators, so join against the repo root rather// than trusting the string to be a usable path on Windows.-const trackedManifests = () => execFileSync('git', ['ls-files', '*.generated.json'], {+// Memoized: this file is in ALWAYS_RUN_TESTS, so it runs on every CI job and+// there is no reason to spawn git once per assertion.+let tracked;+const trackedManifests = () => (tracked ??= execFileSync('git', ['ls-files', '*.generated.json'], {cwd: REPO_ROOT,encoding: 'utf8',-}).split('\n').filter(Boolean);+}).split('\n').filter(Boolean));describe('checked-in generated manifests', () => {it('finds the manifests it is meant to guard', () => {