Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci: unit-postgres-arms job follows the PR/merge-queue Bun scope; scope test counts its matrix

garrytan0c910df836fd
diff --git a/.github/workflows/persistence-validation.yml b/.github/workflows/persistence-validation.yml
index a9bcdbec43..498dcd9c52 100644
--- a/.github/workflows/persistence-validation.yml
+++ b/.github/workflows/persistence-validation.yml
@@ -176,7 +176,7 @@ jobs:
bun: ['1.4.0', '1.4.2']
# Pull requests run the primary Bun version; pushes, schedules and
# manual runs keep every supported version.
- exclude: ${{ fromJSON(github.event_name == 'pull_request' && '[{"bun":"1.4.0"}]' || '[]') }}
+ exclude: ${{ fromJSON((github.event_name == 'pull_request' || github.event_name == 'merge_group') && '[{"bun":"1.4.0"}]' || '[]') }}
services:
postgres:
image: pgvector/pgvector:pg16
diff --git a/test/scripts/ci-pr-scope.test.ts b/test/scripts/ci-pr-scope.test.ts
index 35f102efa1..ed172419ea 100644
--- a/test/scripts/ci-pr-scope.test.ts
+++ b/test/scripts/ci-pr-scope.test.ts
@@ -194,7 +194,7 @@ esac
expect(/GBRAIN_E2E_BUN_IMAGE:-oven\/bun:([^}]+)\}/.exec(read('tests/docker/bootstrap-e2e.sh'))?.[1]).toBe(primary);
const matrices = [load('test.yml').jobs['security-regressions'], ...Object.values(load('persistence-validation.yml').jobs)]
.map(job => job.strategy?.matrix.bun).filter(Boolean);
- expect(matrices).toHaveLength(5);
+ expect(matrices).toHaveLength(6);
for (const bun of matrices) expect(bun).toEqual([MINIMUM_BUN_VERSION, primary]);
for (const job of ['native', 'musl', 'windows-backup-console', 'windows-backup-dotnet']) {
expect(native[job].strategy!.matrix.bun).toEqual([MINIMUM_BUN_VERSION, primary]);