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
fix: stabilize Windows media cleanup tests
[._.]/ Adam Eivya49629a1a5ff
diff --git a/server/services/imageTo3d/trellis2.test.js b/server/services/imageTo3d/trellis2.test.jsindex 7b9b4d61cf..7a4d04e88b 100644--- a/server/services/imageTo3d/trellis2.test.js+++ b/server/services/imageTo3d/trellis2.test.js@@ -1,4 +1,5 @@import { EventEmitter } from 'node:events';+import { join } from 'node:path';import { describe, expect, it, vi } from 'vitest';import {TRELLIS2_REPO,@@ -40,9 +41,11 @@ const BASE = '/tmp/portos-test-home';describe('trellis2 path resolution', () => {it('roots the install under the injected base', () => {- expect(trellis2Root(BASE)).toBe('/tmp/portos-test-home/trellis2');- expect(trellis2VenvPython(BASE)).toMatch(/trellis2\/\.venv\/(bin\/python3|Scripts\/python\.exe)$/);- expect(trellis2GenerateScript(BASE)).toBe('/tmp/portos-test-home/trellis2/generate.py');+ expect(trellis2Root(BASE)).toBe(join(BASE, 'trellis2'));+ expect(trellis2VenvPython(BASE)).toBe(process.platform === 'win32'+ ? join(BASE, 'trellis2', '.venv', 'Scripts', 'python.exe')+ : join(BASE, 'trellis2', '.venv', 'bin', 'python3'));+ expect(trellis2GenerateScript(BASE)).toBe(join(BASE, 'trellis2', 'generate.py'));expect(trellis2GenerateRunnerScript()).toMatch(/trellis2GenerateRunner\.py$/);});});diff --git a/server/services/sprites/atlas.test.js b/server/services/sprites/atlas.test.jsindex d3692d4ff5..981cb15ab2 100644--- a/server/services/sprites/atlas.test.js+++ b/server/services/sprites/atlas.test.js@@ -298,7 +298,13 @@ async function finalizedCharacter() {beforeEach(() => {rmSync(join(TEST_ROOT, 'sprite-records.json'), { force: true });});-afterAll(() => rmSync(TEST_ROOT, { recursive: true, force: true }));+afterAll(() => rmSync(TEST_ROOT, {+ recursive: true,+ force: true,+ // Windows can briefly retain Sharp's image handles after toBuffer resolves.+ maxRetries: 10,+ retryDelay: 100,+}));describe('compileAtlas', () => {it('compiles an ambient-only atlas with one occupied row and transparent unused rows', async () => {