Skip to content
Source
Sign inSign up
pingdotgg/t3code

Codex web app architecture #8

Closedt3dotgg(GitHub profile, opens in a new tab)wants to merge 15 commits intomain fromcursor/codex-web-app-architecture-f06fopened View on GitHub

Showing 43 changed files with 1 addition and 113 deletions (loading 40).

x
0 of 43 viewed, 43 left
1 addition and 1 deletion.github/workflows/ci.ymlModified
View file
@@ -17,7 +17,7 @@
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
- bun-version: 1.1.38
+ bun-version: 1.3.9
Thread on line 20
coderabbitai[bot](GitHub profile, opens in a new tab)commented

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🌐 Web query:

Bun 1.3.9 release changelog breaking changes

💡 Result:

Bun v1.3.9 (published Feb 8, 2026) does not call out any explicit “breaking changes” section in the official changelog. The release is mostly new features, fixes, and perf work. [1]

Possible breaking / behavior-changing items to watch:

  • NO_PROXY is now respected even when you pass an explicit proxy option to fetch() / new WebSocket()—requests that previously went through the proxy may now bypass it (or vice‑versa, depending on your env). [1]
  • Security fix: HTTP server chunked encoding parser issue that could lead to request smuggling (behavior may change for malformed/ambiguous requests). [1]

Not breaking, but notable changelog items:

  • bun run --parallel / --sequential for running multiple scripts (with workspace/filter integration). [1]
  • bun:test mock() / spyOn() implement Symbol.dispose (works with using to auto-restore). [1]
  • --compile now supports ESM bytecode (--bytecode --format=esm). [1]
  • Fix for SIGILL crashes on older ARMv8.0 aarch64 CPUs. [1]

Source

  • [1] Bun v1.3.9 blog changelog (bun.com) (bun.com)

Citations:


🌐 Web query:

Bun version history 1.1.38 to 1.3.9 what changed

💡 Result:

Between Bun v1.1.38 (Nov 29, 2024) and Bun v1.3.9 (Feb 8, 2026), the highlights were:

  • v1.1.38: bugfix release (VSCode terminal/debugger hang, postgres crash, TypeScript minification bug, fetch() rare crash, Bun.FileSystemRouter.reload() fix), reusePort for Bun.listen/node:net, SQLite 3.45 → 3.47, plus other compatibility fixes. [1]
  • v1.2.3: major frontend tooling update—run .html directly as a dev server with hot reload/bundling; built-in routing for Bun.serve() (routes); bun init React template; bun install --analyze; plus Node.js compatibility and Bun.SQL improvements. [2]
  • v1.3.4: URLPattern API + fake timers in bun:test (and other fixes). [3]
  • v1.3.5: Bun.Terminal (PTY) support via Bun.spawn({ terminal: ... }) for truly interactive subprocesses. [4]
  • v1.3.6: Bun.Archive (create/extract tar/tar.gz) + Bun.JSONC.parse() (JSON-with-comments) and related tooling updates. [5]
  • v1.3.8: built-in Bun.markdown (CommonMark-compliant parser) + bun build --metafile-md for Markdown bundle analysis output. [6]
  • v1.3.9: bun run --parallel / --sequential for running multiple scripts; bun:test Symbol.dispose support for mock()/spyOn() (works with using); NO_PROXY honored even with explicit proxy options; --cpu-prof-interval; ESM bytecode support in --compile --bytecode; ARM crash fix on older ARMv8.0 CPUs; plus performance work (Markdown, AbortSignal) and a JavaScriptCore upgrade with multiple JIT/SIMD improvements. [7]

Sources: Bun blog release notes for v1.1.38, v1.2.3, v1.3.4, v1.3.5, v1.3.6, v1.3.8, v1.3.9. [1][2][3][4][5][6][7]


Confirm Bun 1.3.9 is tested against behavior changes before merging.

Bun 1.3.9 was published Feb 8, 2026 and is stable. However, the jump from 1.1.38 introduces two behavior-changing items to watch:

  • NO_PROXY is now respected even with an explicit proxy option to fetch() / new WebSocket()—requests may route differently than before.
  • HTTP chunked encoding parser security fix for request smuggling—malformed/ambiguous requests will behave differently.

Ensure bun run test && bun run check exercise code paths affected by these changes.

🤖 Prompt for AI Agents
In @.github/workflows/ci.yml at line 20, Update the CI entry that sets
"bun-version: 1.3.9" to ensure the test matrix actually exercises the changed
behaviors: add/modify a workflow step to run "bun run test && bun run check"
under bun-version: 1.3.9 and (optionally) add a matrix axis or additional job
that runs the same commands against the previous stable version (e.g., 1.1.38)
for comparison; explicitly ensure tests cover code paths using fetch() and new
WebSocket() (proxy behavior) and any HTTP server request parsing/handlers
(chunked encoding/request-smuggling scenarios) so differences are detected
before merging.
​
- name: Cache Bun and Turbo
uses: actions/cache@v4
0 additions and 28 deletionsapps/desktop/scripts/dev-electron.mjsDeleted
@@ -1,28 +0,0 @@
-import { spawn } from "node:child_process";
-​
-import waitOn from "wait-on";
-​
-const port = Number(process.env.ELECTRON_RENDERER_PORT ?? 5173);
-const devServerUrl = `http://localhost:${port}`;
-​
-await waitOn({
- resources: [
- `tcp:${port}`,
- "file:dist-electron/main.js",
- "file:dist-electron/preload.js",
- ],
-});
-​
-const command =