Garry's Opinionated OpenClaw/Hermes Agent Brain
TypeScript
Run the macOS typecheck on the 14 GB Intel runner
garrytan9d9127557910
diff --git a/.github/workflows/macos-validation.yml b/.github/workflows/macos-validation.ymlindex 8cb2129f5b..0791322b6b 100644--- a/.github/workflows/macos-validation.yml+++ b/.github/workflows/macos-validation.yml@@ -126,10 +126,14 @@ jobs:# timeout: 3 x the worst measured run is about 15 minutes (282 s from an# older commit's state, run 39168836406; a cold run is no faster).# Same gate as macos-26 (named exception, docs/TESTING.md#event-parity).+ # GST-2333: on Intel (4 cores, 14 GB). tsc on this tree peaks near 6.7 GB+ # resident; the 7 GB arm64 runner swapped, and a check from an older state+ # took 7 to 15 minutes (915 s hit the step cap, run 42813311634). Intel,+ # cold: 234 s, 6.68 GB peak, no swap (run 42821135693).if: |github.event_name != 'pull_request' ||contains(github.event.pull_request.labels.*.name, 'macos-validation')- runs-on: macos-26+ runs-on: macos-26-inteltimeout-minutes: 25steps:- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4diff --git a/docs/TESTING.md b/docs/TESTING.mdindex 3875ede374..ebe806a7cf 100644--- a/docs/TESTING.md+++ b/docs/TESTING.md@@ -656,7 +656,9 @@ or release code asks for it in the pull request. Scheduled and dispatched runsuse the default branch's workflow file, so the label is the way to get thisevidence for a change before it merges. `test.yml`'s security matrix,`release.yml`'s darwin build and `native-locks.yml`'s darwin cells pin-`macos-26` / `macos-26-intel` rather than `macos-latest`.+`macos-26` / `macos-26-intel` rather than `macos-latest`. Its typecheck job runs on `macos-26-intel`+(14 GB): tsc on this tree needs about 6.7 GB resident and swapped on the 7 GB+arm64 runner, taking up to 15 minutes from an older incremental state.### Keeping CI partitions balanceddiff --git a/test/scripts/ci-gates.test.ts b/test/scripts/ci-gates.test.tsindex ff8c64f7f7..8c802175d7 100644--- a/test/scripts/ci-gates.test.ts+++ b/test/scripts/ci-gates.test.ts@@ -80,7 +80,7 @@ describe('CI execution evidence', () => {test('macOS 26 validation typechecks in its own job, under a measured step timeout, saves its state on every outcome, and its verify skips tsc (#6056)', () => {const mac = loadWorkflow('macos-validation.yml') as Workflow & { jobs: Record<string, Job & { 'runs-on'?: string }> };const job = mac.jobs.typecheck;- expect(job['runs-on']).toBe('macos-26');+ expect(job['runs-on']).toBe('macos-26-intel');expect(job.if).toBe(mac.jobs['macos-26'].if);const tsc = job.steps.find(step => step.run === 'bun run typecheck')!;expect(tsc['timeout-minutes']).toBe(15);