Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(e2e): run Tier 1 on 8 vCPUs (GBRA-135 E3 pilot: same suites, no failures, about 40% fewer vCPU-minutes)

garrytan42e06ac081fd
diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml
index 77fe92aa5c..2057a58652 100644
--- a/.github/workflows/e2e.yml
+++ b/.github/workflows/e2e.yml
@@ -295,12 +295,14 @@ jobs:
tier1:
name: Tier 1 (Mechanical)
- # Tier 1 stays on 16 vCPUs: on 4 its CLI `init --url` spawns in
+ # Tier 1 runs on 8 vCPUs: on 4 its CLI `init --url` spawns in
# mechanical.test.ts went from ~2s to past their 15-30s kill timeouts
- # (measured September 29, 2026), while every other E2E lane ran as fast.
+ # (measured September 29, 2026). On 8 the GBRA-135 pilot (two matched runs,
+ # October 18, 2026) took 894-1167s against 934-957s on 16 with no failures,
+ # the mechanical step 42-48s against 40-44s, and peak memory 3.3 GB.
needs: [prepare-e2e]
if: ${{ needs.prepare-e2e.outputs.reuse != 'true' }}
- runs-on: ubicloud-standard-16-ubuntu-2404
+ runs-on: ubicloud-standard-8-ubuntu-2404
timeout-minutes: 70
services:
postgres:
@@ -473,7 +475,7 @@ jobs:
# The backend matrix (scripts/e2e-backend-matrix.txt) runs each file on
# direct Postgres and again through transaction-mode PgBouncer, one file at
# a time, so it needs no more than 4 vCPUs (C5). Split from Tier 1, which
- # keeps 16 vCPUs for its CLI-spawn timing. It is the PR owner of every
+ # keeps 8 vCPUs for its CLI-spawn timing. It is the PR owner of every
# listed test/e2e/ file: scripts/e2e-matrix.ts excludes them from Selected
# E2E (C3).
tier1-backend-matrix:
diff --git a/docs/TESTING.md b/docs/TESTING.md
index ff015987ca..6486ed5be1 100644
--- a/docs/TESTING.md
+++ b/docs/TESTING.md
@@ -52,8 +52,8 @@ not grant access. No Ubicloud API token is passed to workflow jobs.
| Workload | Runner | Capacity |
| --- | --- | --- |
| Unit shards, slow and eval jobs, BrainBench, admin browser, shared-skills compatibility, persistence soak, reconciliation crashes and read latency, native Linux cells, OpenClaw startup, JSONB parity, PR serial pool, E2E backend matrix, Tier 2, coverage reports and Semgrep | `ubicloud-standard-4-ubuntu-2404` | 4 vCPU, 16 GB RAM |
-| Nightly coverage serial pool, `verify`, PgBouncer/RLS deployment matrix | `ubicloud-standard-8-ubuntu-2404` | 8 vCPU, 32 GB RAM |
-| E2E Tier 1 (its CLI `init` spawns exceed their timeouts on 4 vCPUs), label-gated and nightly heavy-tests jobs | `ubicloud-standard-16-ubuntu-2404` | 16 vCPU, 64 GB RAM |
+| Nightly coverage serial pool, `verify`, PgBouncer/RLS deployment matrix, E2E Tier 1 (its CLI `init` spawns exceed their timeouts on 4 vCPUs) | `ubicloud-standard-8-ubuntu-2404` | 8 vCPU, 32 GB RAM |
+| Label-gated and nightly heavy-tests jobs | `ubicloud-standard-16-ubuntu-2404` | 16 vCPU, 64 GB RAM |
| Label-gated heavy test suite | `ubicloud-standard-30-ubuntu-2404` | 30 vCPU, 120 GB RAM |
| Native ARM64 glibc and musl tests | `ubicloud-standard-4-arm-ubuntu-2404` | 4 vCPU |
| Selected E2E (one Bun process each), planning, status aggregation, dependency audit, gitleaks, security regressions and actionlint | `ubicloud-standard-2-ubuntu-2404` | 2 vCPU, 8 GB RAM |
diff --git a/test/scripts/ci-runner-routing.test.ts b/test/scripts/ci-runner-routing.test.ts
index 4efe157aa8..ad83d52e8d 100644
--- a/test/scripts/ci-runner-routing.test.ts
+++ b/test/scripts/ci-runner-routing.test.ts
@@ -46,7 +46,9 @@ describe('CI runner routing', () => {
for (const name of ['jsonb-parity', 'tier2', 'tier1-backend-matrix', 'coverage-full-unit', 'coverage-full-slow', 'coverage-full-e2e']) {
expect(load('e2e.yml').jobs[name]['runs-on'], name).toBe(single);
}
- expect(load('e2e.yml').jobs.tier1['runs-on']).toBe(normal);
+ // Tier 1 on 8 vCPUs (GBRA-135 pilot, two matched runs): 934-957s on 16, 894-1167s on 8,
+ // no failures, peak memory 3.3 GB; its mechanical step took 40-48s on both.
+ expect(load('e2e.yml').jobs.tier1['runs-on']).toBe(pooled);
expect(load('e2e.yml').jobs['coverage-full-serial']['runs-on']).toBe(pooled);
expect(load('persistence-validation.yml').jobs['read-performance']['runs-on']).toBe(single);
expect(load('persistence-validation.yml').jobs.invariants['runs-on']).toBe(single);