fix: eliminate browser and process-cleanup test flakes

Pin every CI surface to Bun 1.4.0 to avoid extra-stdio finalizers closing
reused live sockets. Add an isolated GC/listener regression that fails on
Bun 1.3.13, and prevent coordinated rollback to an affected CI runtime.

Check renderer cleanup against the render's own staging directory so
concurrent renders cannot invalidate the assertion. Make the no-pgrep
process-tree walk tolerate disappearing /proc entries, and synchronize
its test fixture through child readiness and pipe EOF instead of sleeps.

Validation: 9,157 passed, 31 skipped, zero failures across 556 files with
retries disabled. Build, all-host generation freshness, and skill checks
passed. All three races have failing-before/passing-after regressions.
This commit is contained in:
Garry Tan committed 2026-09-08 15:08:02 +00:00
1 parent 5e48b4d277
commit 042daeee71
17 files changed
+262 -63

No files matched your search

+1 -1
View File
@@ -272,7 +272,7 @@ jobs:
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- run: bun install --frozen-lockfile
+1 -1
View File
@@ -261,7 +261,7 @@ jobs:
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- run: bun install --frozen-lockfile
+1 -1
View File
@@ -54,7 +54,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- uses: actions/cache@v6
with:
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- name: Install dependencies
run: bun install --frozen-lockfile
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- name: Install frozen dependencies
run: bun install --frozen-lockfile --ignore-scripts
+1 -1
View File
@@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v7
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- run: bun install --frozen-lockfile
# One generation pass for ALL 10 hosts. gen-skill-docs --host all
# hard-fails on any per-host generation error (scripts/gen-skill-docs.ts
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
- name: Read versions
id: versions
+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
# bun install was 35s of a 55s job, all network. Cache keyed on the
# lockfile; bun's install cache lives under ~/.bun/install/cache on
+1 -1
View File
@@ -45,7 +45,7 @@ jobs:
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
bun-version: 1.4.0
# Same lockfile-keyed install cache as windows-free-tests.yml (install
# was 45s of a 64s job, all network).