Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/scripts/release-evidence-policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -840,5 +840,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": "da0b271b0d8c362a3efe98485ebfc543f64b03a2",
".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": "5b73037fb54e685b1d3485ea664e82a1eb418606",
"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"
}
}
]
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -626,10 +626,10 @@ jobs:
needs: changes
if: github.event_name != 'pull_request' || (needs.changes.outputs.ci == 'true' && needs.changes.outputs.fast != 'true')
runs-on: ${{ vars.LIDGE_RUNNERS == 'on' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository || contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.pull_request.author_association)) && fromJSON('["self-hosted","linux","x64","lidge"]') || 'ubuntu-latest' }}
# A fifth of the suite. A shard that needs longer than this is wedged, not
# slow — the old 30-minute ceiling was margin for the Windows leg, which no
# longer runs here (see platform-windows).
timeout-minutes: 15
# The full suite needs setup and cleanup beyond its bounded test batches.
# Runs 44462803582 and 44463273114 exhausted 15 minutes while progressing;
# keep the independent batch deadlines and allow a bounded 18-minute job.
timeout-minutes: 18
strategy:
fail-fast: false
matrix:
Expand Down
9 changes: 4 additions & 5 deletions tests/ci-workflows/ci-workflows.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,11 @@ describe("GitHub Actions hardening", () => {
};

// Job-scoped: a global count still passes if values are swapped between jobs.
// Pin ownership explicitly. The Windows leg is sharded like the Linux ones
// since 8034cd7c0 — a single leg reached 30m on a green suite and was killed
// in cleanup, so each shard now holds the same 15m a Linux shard holds. A
// shard that needs longer is wedged, not slow.
// The Linux full-suite budget includes setup and cleanup around bounded
// batches. Runs 44462803582 and 44463273114 exhausted 15m with healthy
// progress; only that outer budget changes. Other jobs keep their own bounds.
expect(ci.jobs?.["select-windows-runner"]?.["timeout-minutes"]).toBe(2);
expect(ci.jobs?.test?.["timeout-minutes"]).toBe(15);
expect(ci.jobs?.test?.["timeout-minutes"]).toBe(18);
expect(ci.jobs?.gates?.["timeout-minutes"]).toBe(15);
// 30 with four shards: run 43508374033 cancelled all four at the 20-minute
// wall with no failing tests, and no fifth macOS slot exists for another
Expand Down
Loading