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

test: preserve temporary path spelling for receipt fixtures (#13405)

[._.]/ Adam Eivy3289d8a174ed
diff --git a/server/services/retirementAppScope.test.js b/server/services/retirementAppScope.test.js
index 11d6f6e9a8..76d4602b55 100644
--- a/server/services/retirementAppScope.test.js
+++ b/server/services/retirementAppScope.test.js
@@ -57,7 +57,8 @@ describe.skipIf(SKIP_HEAVY_INTEGRATION)('outside reconciliation retirement recei
let repo;
beforeEach(async () => {
Object.assign(injected, { app: null, apps: null, schedule: { tasks: {}, executions: {} }, scheduleWrites: 0, failScheduleWrite: null, failOrphanInventory: false, failMergedInventory: false, inventoryFailureArmed: false, inventoryFailures: 0 });
- scratch = realpathSync.native(await mkdtemp(join(tmpdir(), 'portos-cleanup-repo-')));
+ // Preserve the temp guard's Windows short-name spelling until materialization.
+ scratch = await mkdtemp(join(tmpdir(), 'portos-cleanup-repo-'));
await mkdir(join(scratch, 'repo'));
await materializeGitRepo(join(scratch, 'repo'), { identity: { email: '[email protected]', name: 'Test' } });
repo = (await execGit(['rev-parse', '--show-toplevel'], join(scratch, 'repo'))).stdout.trim();