From c40579814f37427a46ec59d6481dba3966d17f5d Mon Sep 17 00:00:00 2001 From: JUN Date: Sat, 21 Nov 2026 21:23:05 +0900 Subject: [PATCH 1/2] ci: raise the Windows shard timeout to 40 minutes Windows shards keep reaching the 30-minute wall with no failing test: on dev 067f6231f6 shard 14/14 was cancelled at batch 39/46 in both attempts of run 44898495822, and runs 44809394399 and 44878221019 lost other shards the same way. A cancelled shard is neither a pass nor a fail, so it blocks release evidence without showing a fault. Raise only platform-windows timeout-minutes to 40, as #8944 did for the Linux shards, and pin the new ci.yml blob with an appended release-evidence policy entry (the previous ci entry with only the ci.yml hash replaced). --- .github/scripts/release-evidence-policy.json | 34 ++++++++++++++++++++ .github/workflows/ci.yml | 11 ++++++- tests/ci-workflows/ci-workflows.test.ts | 2 +- 3 files changed, 45 insertions(+), 2 deletions(-) diff --git a/.github/scripts/release-evidence-policy.json b/.github/scripts/release-evidence-policy.json index d54057e1e50..5004d1412f0 100644 --- a/.github/scripts/release-evidence-policy.json +++ b/.github/scripts/release-evidence-policy.json @@ -976,5 +976,39 @@ "desktop/scripts/appimage-patchelf.py": "63e78ef74160bc48fbcdd882065f1d416db6d13c", "desktop/scripts/linux-packaged-e2e.ts": "9ca92352668ff881c85caea44a9b4747bedc7e2d" } + }, + { + "kind": "ci", + "version": 1, + "windowsShards": 14, + "files": { + ".github/workflows/ci.yml": "6f6006246d695012c8672b0cdd56729a1c4c7df6", + ".github/actions/setup-project-bun/action.yml": "cf28f6f9d4385d69784f4e3610914f6952ce789d", + ".github/scripts/release-evidence.cjs": "ace2b9006b2d58ef84ed0996b4e179ff4be15900", + ".github/scripts/release-evidence.test.cjs": "9cc686390e5c37d8e693b98d049e8b505d0273cf", + "scripts/ci/select-test-lane.sh": "b25836cb55f962d1ffd9e68ed00f45f8b45becc8", + "scripts/ci/windows-sensitive-diff.sh": "03495f256c671aff57e750febffe19ca7face6a1", + "scripts/ci/run-bun-test-batches.sh": "59b1783aadf8109c0fa2d37047ff0d90300aa267", + "scripts/ci/bun-crash-signatures.sh": "d34662ddd07864d97bed909135095db33fe42c9e", + "scripts/ci/bun-install-frozen.sh": "e6d7bc3aec044e12297c7c4c04015a33df0eb22b", + "scripts/ci/docker-smoke.ts": "4eea7637d8658156feeaa356c0c3086c00d75fa5", + "scripts/ci/test-durations.tsv": "a07f90e6098082e1452ea5cc075c801271321eca", + "scripts/ci/test-durations.windows.tsv": "523cef871c3e17fc0344c98fb15eef79feb04c84", + "scripts/test.ts": "c18e561ba35cb72ff83d8e592146dcea8bd1b27f", + "scripts/lib/test-runner-bun.ts": "8763806104a851dbdefeea8cffe8d7dd8d1c8da1", + "scripts/test-temp-lock.ts": "ee83fb254b728de119028f52b9894bf52d7aea15", + "scripts/git-repository-env.ts": "267950490fffb4c48d9adb90bdcf5a873733b324", + "scripts/ci/run-changed-tests.sh": "9a54d3a5db9849bcbe0dd766954a840185419fa5", + "scripts/keyring-smoke.ts": "cd3be07ad57796172696dfa053ea1fb129f29365", + "scripts/privacy-scan.ts": "86314e891b45e49739b94c76cddd9e4cc2d4340f", + "scripts/structure-ssot.ts": "5b2d2918dae877fddfb16cdba6e89f0d10e82298", + "scripts/generate-ocx-skill-surface.ts": "155e866656ba2d71e8fd48adda857451caf16322", + "desktop/scripts/prepare-sidecar.ts": "20f7eec61f73635ea681e25f13dd850b62bb41e2", + "desktop/scripts/build-widget.sh": "38e0eb9d713804b603aa75c32383aa18ef01d06c", + "desktop/scripts/verify-macos-runtime.sh": "43f1a31375c6f6fe7dcafb9d96c231b98d1f6ba4", + "desktop/scripts/verify-linux-sidecar.sh": "c502bb5c8ba8346c722a8f5274f2274bb325a934", + "desktop/scripts/appimage-patchelf.py": "63e78ef74160bc48fbcdd882065f1d416db6d13c", + "desktop/scripts/linux-packaged-e2e.ts": "9ca92352668ff881c85caea44a9b4747bedc7e2d" + } } ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ae44e193c6..6f6006246d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1113,7 +1113,16 @@ jobs: # setup that projects ~33.6 against the 30-minute bound. Fourteen shards put test # work at ~19.6 minutes and the same projection at ~26.9, the margin chosen for # eleven. Pay for three extra setups, keep the 30-minute job bound and all tests. - timeout-minutes: 30 + # + # Fourteen shards then reached it as well: on dev 067f6231f6 shard 14/14 was + # cancelled at batch 39/46 twice in a row (run 44898495822, both attempts) with no + # failing test, after other shards in the same window had been cancelled at 30 + # minutes in runs 44809394399 and 44878221019. A cancelled shard is neither a + # pass nor a fail, so it blocks release evidence without showing a fault. Raise + # the bound to 40, as #8944 did for the Linux shards, until the Windows weights + # are refreshed and the shard count is revisited; a shard far beyond 40 minutes + # is still wedged, not slow. + timeout-minutes: 40 strategy: fail-fast: false matrix: diff --git a/tests/ci-workflows/ci-workflows.test.ts b/tests/ci-workflows/ci-workflows.test.ts index e1f09970f95..2472235ed55 100644 --- a/tests/ci-workflows/ci-workflows.test.ts +++ b/tests/ci-workflows/ci-workflows.test.ts @@ -127,7 +127,7 @@ describe("GitHub Actions hardening", () => { expect(ci.jobs?.["macos-control"]?.["timeout-minutes"]).toBe(75); // Higher than the Linux shards on purpose: at 15 the Windows leg cancelled a // shard mid-suite, which reports as neither pass nor fail (#2152). - expect(ci.jobs?.["platform-windows"]?.["timeout-minutes"]).toBe(30); + expect(ci.jobs?.["platform-windows"]?.["timeout-minutes"]).toBe(40); expect(ci.jobs?.["keyring-smoke"]?.["timeout-minutes"]).toBe(8); // Same lesson as the Windows shards above, one job later: at 8 the Windows leg // spent ~7 minutes installing dependencies and was cancelled at the wall before From 39b7ef856dc6e00b1b2fc7c4954c4786509a1b6e Mon Sep 17 00:00:00 2001 From: JUN Date: Sat, 21 Nov 2026 21:26:35 +0900 Subject: [PATCH 2/2] ci: keep ci.yml under the 2,000-line module cap Shorten the new platform-windows timeout rationale to one line and re-pin the ci.yml blob in the release-evidence policy entry. --- .github/scripts/release-evidence-policy.json | 2 +- .github/workflows/ci.yml | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/scripts/release-evidence-policy.json b/.github/scripts/release-evidence-policy.json index 5004d1412f0..a5c652910ee 100644 --- a/.github/scripts/release-evidence-policy.json +++ b/.github/scripts/release-evidence-policy.json @@ -982,7 +982,7 @@ "version": 1, "windowsShards": 14, "files": { - ".github/workflows/ci.yml": "6f6006246d695012c8672b0cdd56729a1c4c7df6", + ".github/workflows/ci.yml": "cdfc4ea31e35aba6a44123f04eba1fba0cee5791", ".github/actions/setup-project-bun/action.yml": "cf28f6f9d4385d69784f4e3610914f6952ce789d", ".github/scripts/release-evidence.cjs": "ace2b9006b2d58ef84ed0996b4e179ff4be15900", ".github/scripts/release-evidence.test.cjs": "9cc686390e5c37d8e693b98d049e8b505d0273cf", diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f6006246d6..cdfc4ea31e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1113,15 +1113,7 @@ jobs: # setup that projects ~33.6 against the 30-minute bound. Fourteen shards put test # work at ~19.6 minutes and the same projection at ~26.9, the margin chosen for # eleven. Pay for three extra setups, keep the 30-minute job bound and all tests. - # - # Fourteen shards then reached it as well: on dev 067f6231f6 shard 14/14 was - # cancelled at batch 39/46 twice in a row (run 44898495822, both attempts) with no - # failing test, after other shards in the same window had been cancelled at 30 - # minutes in runs 44809394399 and 44878221019. A cancelled shard is neither a - # pass nor a fail, so it blocks release evidence without showing a fault. Raise - # the bound to 40, as #8944 did for the Linux shards, until the Windows weights - # are refreshed and the shard count is revisited; a shard far beyond 40 minutes - # is still wedged, not slow. + # Raised to 40 as #8944 did for Linux: 14/14 hit 30 at batch 39/46 (run 44898495822). timeout-minutes: 40 strategy: fail-fast: false