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: recognize Chrome updater scratch directories (#10494)
Adam Eivye6dade6242dc
diff --git a/scripts/vitestTempRootSetup.js b/scripts/vitestTempRootSetup.jsindex 3b7e53908a..269fd758ff 100644--- a/scripts/vitestTempRootSetup.js+++ b/scripts/vitestTempRootSetup.js@@ -25,6 +25,8 @@ const TOOLCHAIN_CACHE_PREFIXES = new Set([// are browser-owned, not fixture data, and surface once a real-Chrome suite runs// under this guard on Linux (#10312). Exact browser prefixes only.'com.google.Chrome.',+ // Chrome's component updater stages unpacked downloads in this exact prefix.+ 'com.google.Chrome.chrome_chrome_Unpacker_BeginUnzipping.','.com.google.Chrome.','org.chromium.Chromium.','.org.chromium.Chromium.',diff --git a/scripts/vitestTempRootSetup.test.js b/scripts/vitestTempRootSetup.test.jsindex 820a220e98..d907024faa 100644--- a/scripts/vitestTempRootSetup.test.js+++ b/scripts/vitestTempRootSetup.test.js@@ -28,13 +28,14 @@ describe('vitestTempRootSetup teardown', () => {it('ignores browser-owned Chrome scratch directories but still fails on a leaked fixture beside them', () => {const browserOnly = runTeardown((root) => {- for (const name of ['com.google.Chrome.aB3dE9', '.com.google.Chrome.xY7zQ2', '.org.chromium.Chromium.k9L2mN']) {+ for (const name of ['com.google.Chrome.aB3dE9', '.com.google.Chrome.xY7zQ2', '.org.chromium.Chromium.k9L2mN', 'com.google.Chrome.chrome_chrome_Unpacker_BeginUnzipping.AbC123']) {mkdirSync(join(root, name));writeFileSync(join(root, name, 'sock'), 'x');}});expect(browserOnly.warnings).toEqual([]);expect(browserOnly.exitCode).toBeUndefined();+ expect(browserOnly.removed).toBe(true);const withFixture = runTeardown((root) => {mkdirSync(join(root, 'com.google.Chrome.aB3dE9'));