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
test: isolate vitestCiPool tests from the ambient CI worker override (#10114)
Adam Eivya19f875d4653
diff --git a/scripts/vitestCiPool.test.js b/scripts/vitestCiPool.test.jsindex f4f47cd4a6..53fe2bdfa5 100644--- a/scripts/vitestCiPool.test.js+++ b/scripts/vitestCiPool.test.js@@ -1,4 +1,4 @@-import { afterEach, describe, expect, it } from 'vitest';+import { afterEach, beforeEach, describe, expect, it } from 'vitest';import { spawnSync } from 'node:child_process';import { mkdirSync, mkdtempSync, readFileSync, rmSync, symlinkSync, writeFileSync } from 'node:fs';import { tmpdir } from 'node:os';@@ -16,6 +16,11 @@ describe('vitestCiPool', () => {else process.env[key] = value;};+ // The Windows CI job exports the override; tests must not inherit it.+ beforeEach(() => {+ delete process.env.PORTOS_CI_MAX_WORKERS;+ });+afterEach(() => {restore('CI', original);restore('PORTOS_PREGATE_MAX_WORKERS', originalPregate);