From a1c5e515b7fd259be3ca143cdc94bd16e1085e61 Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Mon, 24 Aug 2026 00:35:55 -0700 Subject: [PATCH] fix(desktop): SkillsView tests no longer cascade-fail on slow CI runners MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The whole test file legitimately runs ~14s on CI (heavy dynamic import paid by the first test), brushing the global 15s per-test budget. Slow runners tip the first test over and cascade-fail all 11 — hit twice in a row on PR #93612 and on a main run in the same hour. Raise the file's describe-level timeout to 60s; individual tests still run in milliseconds locally. Sabotage-verified: timeout:1 fails all 11, 60s passes all 11. --- apps/desktop/src/app/skills/index.test.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/desktop/src/app/skills/index.test.tsx b/apps/desktop/src/app/skills/index.test.tsx index 5376da7b96..fd2b71c50c 100644 --- a/apps/desktop/src/app/skills/index.test.tsx +++ b/apps/desktop/src/app/skills/index.test.tsx @@ -104,7 +104,12 @@ afterEach(() => { queryClient.clear() }) -describe('SkillsView toolset management', () => { +// SkillsView is a heavy module: the first test pays the whole dynamic-import +// cost, and the file legitimately runs ~14s on CI runners — right against the +// global 15s per-test budget, so slow runners cascade-fail all 11 tests +// (2× in a row on PR #93612, plus a main run the same hour). Give this file +// headroom; the tests are not slow individually. +describe('SkillsView toolset management', { timeout: 60_000 }, () => { it('renders a switch for each toolset and toggles it off', async () => { await renderSkills()