Skip to content

Commit 42c97db

Browse files
committed
chore: bump bundled Bun from 1.4.0 to 1.4.2
Bun 1.4.0 still hits segfaults in the bun:ffi path OpenTUI renders through; a long-lived TUI resumed after sleep is the reported trigger (e.g. Kilo-Org/kilocode#13954, anomalyco/opencode#47037). 1.4.2 carries the fixes for that FFI-crash family, and OpenCode bumped its embedded Bun to 1.4.2 for the same reason (anomalyco/opencode#44946). Update the runtime shipped with the npm package (BUNDLED_BUN_VERSION), the engines floor, and the version floor stated in the docs, then regenerate the embedded docs. The logs.md note about a 1.4.0 compiled-binary worker limitation is left as-is; it describes that specific behavior, not a minimum version. Note: the matching bun-version pins in .github/workflows/ci.yml and release.yml still need bumping to 1.4.2; that change requires the GitHub `workflow` scope and could not be pushed from this session. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01GvJemP2DWDEHzLSv8qbdaG
1 parent 6fccfdf commit 42c97db

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How the codebase is laid out, how the client and supervisor talk, and how to cha
66

77
## Day-to-day
88

9-
Runtime is [Bun](https://bun.sh) 1.4.0 or later. The loop is in [Building from source](docs/typescript.md):
9+
Runtime is [Bun](https://bun.sh) 1.4.2 or later. The loop is in [Building from source](docs/typescript.md):
1010

1111
```bash
1212
export PATH="$HOME/.bun/bin:$PATH"

‎app/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"homepage": "https://github.com/amr-m-abdelgawad/devctl",
1414
"engines": {
15-
"bun": ">=1.4.0"
15+
"bun": ">=1.4.2"
1616
},
1717
"bin": {
1818
"devctl": "./src/bin.ts"

‎app/scripts/npm-package.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { copyFileSync, mkdirSync, readFileSync, readdirSync, rmSync, writeFileSy
22
import { join, relative, resolve } from "node:path";
33

44
export const NPM_PACKAGE_NAME = "@amr-m-abdelgawad/devctl";
5-
export const BUNDLED_BUN_VERSION = "1.4.0";
5+
export const BUNDLED_BUN_VERSION = "1.4.2";
66
export const GENERATED_PACKAGE_FILES = ["LICENSE", "README.md", "bin/devctl.cjs", "dist/devctl.js", "package.json"] as const;
77

88
type PackageJson = {

‎app/src/presentation/mcp/docs.generated.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1258,7 +1258,7 @@ brew install --formula https://raw.githubusercontent.com/amr-m-abdelgawad/devctl
12581258
## From source
12591259
12601260
\`\`\`bash
1261-
# Source development requires Bun 1.4.0 or later.
1261+
# Source development requires Bun 1.4.2 or later.
12621262
export PATH="$HOME/.bun/bin:$PATH"
12631263
12641264
git clone https://github.com/amr-m-abdelgawad/devctl.git

‎docs/installation.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ brew install --formula https://raw.githubusercontent.com/amr-m-abdelgawad/devctl
5555
## From source
5656

5757
```bash
58-
# Source development requires Bun 1.4.0 or later.
58+
# Source development requires Bun 1.4.2 or later.
5959
export PATH="$HOME/.bun/bin:$PATH"
6060

6161
git clone https://github.com/amr-m-abdelgawad/devctl.git

‎docs/internals/testing-ci.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Testing and CI
22

3-
Runtime is **Bun 1.4.0+**. Tests: `bun:test`. There is no Jest/Vitest.
3+
Runtime is **Bun 1.4.2+**. Tests: `bun:test`. There is no Jest/Vitest.
44

55
## Local loop
66

@@ -69,7 +69,7 @@ Jobs (all must pass except dependency-review skipped on non-PR):
6969
| codeql | JS/TS on `app` |
7070
| dependency-review | PRs, fail on high |
7171

72-
Bun version in CI is pinned to **1.4.0** (`oven-sh/setup-bun`).
72+
Bun version in CI is pinned to **1.4.2** (`oven-sh/setup-bun`).
7373

7474
Other workflows: `release.yml` (tagged publishes), `docs-wiki.yml` (wiki from `docs/`), `deploy-pages.yml` (VitePress).
7575

0 commit comments

Comments
 (0)