|
|
@@ -7,8 +7,17 @@ permissions:
|
|
|
|
|
|
env:
|
|
|
PRIMARY_NODE_VERSION: '24'
|
|
|
+ # CI runs must never report to the production telemetry endpoint baked
|
|
|
+ # into apps/cli/cordis.yml (AppCLIEntry disables the row when set).
|
|
|
DSH_TELEMETRY_DISABLED: '1'
|
|
|
|
|
|
+# Cancel a superseded pull-request run on a new push so a fresh head does not
|
|
|
+# queue a second full 9-job run behind a stale one (paid enterprise runners
|
|
|
+# would otherwise stack with no auto-cancellation).
|
|
|
+concurrency:
|
|
|
+ group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
+ cancel-in-progress: true
|
|
|
+
|
|
|
jobs:
|
|
|
|
|
|
# Three enterprise jobs isolate coverage, static analysis, and the
|
|
|
@@ -433,19 +442,16 @@ jobs:
|
|
|
shell: pwsh
|
|
|
run: pnpm run check:ci:windows-complete
|
|
|
|
|
|
- # Hot-standby drill for the in-house self-hosted pool: every master move
|
|
|
- # re-runs the complete unsharded aggregate on the persistent 64-core VM,
|
|
|
- # continuously proving that environment can take over a required lane if
|
|
|
- # the hosted pools degrade (the switch is then setting the writer-manageable
|
|
|
- # DSH_CI_FAILOVER_LINUX variable — see the failover runbook, no merge required).
|
|
|
- # Push-triggered, so this lane always executes the base branch's own
|
|
|
- # workflow definition. (Under failover, pull_request jobs do reach these
|
|
|
- # runners with the PR merge ref's workflow — the boundary there is
|
|
|
- # repository membership: private, forking disabled, Dependabot excluded.)
|
|
|
- # Non-blocking for
|
|
|
- # pull requests; no cache steps because the VM's persistent pnpm store and
|
|
|
- # tool caches make them redundant (and saving here would poison the hosted
|
|
|
- # cache namespace with self-hosted paths).
|
|
|
+ # Single stable required check for branch protection: require "all checks
|
|
|
+ # passed" instead of enumerating matrix legs whose names change as lanes and
|
|
|
+ # node versions evolve. Every blocking job in THIS workflow must be listed in
|
|
|
+ # `needs`. The required Wine job is listed as `windows`; `windows-native` is
|
|
|
+ # deliberately absent so its independent result never delays or changes this
|
|
|
+ # verdict.
|
|
|
+ # `if: always()` is load-bearing: without it a failed dependency
|
|
|
+ # would SKIP this job, and GitHub counts a skipped required check as passing
|
|
|
+ # — so this job always runs and fails on any non-success result, including
|
|
|
+ # 'cancelled' and 'skipped'.
|
|
|
all-checks-passed:
|
|
|
name: all checks passed
|
|
|
# This bookkeeping-only verdict must not depend on custom-pool
|