Skip to content

ci: move the Bun trial lane and bun-types to 1.4.1 - #674

Merged
7nohe merged 2 commits into
mainfrom
claude/bun-1-4-1-upgrade-50c24a
Sep 4, 2026
Merged

7nohe merged 2 commits into
mainfrom
claude/bun-1-4-1-upgrade-50c24a

Conversation

@7nohe

@7nohe 7nohe commented Sep 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bun 1.4.1 shipped on 2026-09-04. This moves the CI trial lane from 1.4.0 to 1.4.1 and the root bun-types floor to ^1.4.1. Every other workflow keeps pinning the primary version (1.3.14); scripts/workflow-bun-version.test.ts enforces that and stays green. The lockfile was regenerated on 1.3.14, so the primary lane's --frozen-lockfile install is unchanged.

The second commit drops the EventEmitter cast in registerProcessTeardown: bun-types 1.4.1 restores the generic process.off signature that 1.4.0 shadowed (oven-sh/bun#40004), and with the floor at ^1.4.1 the workaround had nothing left to cover. No runtime change.

Why not promote 1.4 to primary yet

On main, the 1.4.0 lane is 20 green / 19 red over the last 40 runs. Every red is the same class: 30s timeouts in subprocess-heavy tests (publish-agent-catalog, audit: changeset gate) under the push-only --parallel trial, not a runtime regression. Promotion is a separate decision once that flag's numbers settle; 1.4.1 lands 476 commits including a spawnSync/GC keep-alive fix (oven-sh/bun#40508), so the soak restarts here.

Verification (Bun 1.4.1, local)

Bun 1.4.1 shipped today. The trial lane in ci.yml follows it, and the
root bun-types floor moves with it. Every other workflow keeps pinning
the primary version (1.3.14); scripts/workflow-bun-version.test.ts
enforces that and stays green. The lockfile was regenerated on 1.3.14
so the primary lane's --frozen-lockfile install is unchanged.

Verified on 1.4.1: bun install --frozen-lockfile, build:clean,
typecheck, test:bun (6495 pass / 0 fail), test:examples.
bun-types 1.4.1 restores the generic process.off signature that 1.4.0
shadowed with its memoryPressure overload (oven-sh/bun#40004), and the
root floor now sits at ^1.4.1, so the EventEmitter cast in
registerProcessTeardown has nothing left to work around. No runtime
change; typecheck and the Application lifecycle tests stay green.
@7nohe
7nohe force-pushed the claude/bun-1-4-1-upgrade-50c24a branch from 34d7d20 to e93d7d1 Compare September 4, 2026 22:29
@7nohe
7nohe merged commit 3b9f2e7 into main Sep 4, 2026
8 checks passed
@7nohe
7nohe deleted the claude/bun-1-4-1-upgrade-50c24a branch September 4, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant