Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM oven/bun:1.3.14-alpine
FROM oven/bun:1.4.1-alpine

# Install necessary packages for development
RUN apk add --no-cache \
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Cache Bun dependencies
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
Expand Down Expand Up @@ -960,7 +960,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Install dependencies
run: bun install --frozen-lockfile --ignore-scripts
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/desktop-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-embeddings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

# Docker Compose and Kubernetes must run the same background jobs on the
# same schedules; this fails the build if the two drift apart. The script
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Cache Bun dependencies
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node.js for npm publishing
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sim-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sim-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-ts-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node.js for npm publishing
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down Expand Up @@ -303,7 +303,7 @@ jobs:
- name: Setup Bun
uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.3.14
bun-version: 1.4.1

- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"main": "dist/main.cjs",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "Apache-2.0",
"type": "module",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"scripts": {
Expand Down
13 changes: 7 additions & 6 deletions apps/sim/lib/core/utils/fetch-deadline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ import { Agent, type Dispatcher } from 'undici'
* disagree.
*
* Bun accepts only the boolean/zero form of `timeout`. Measured on Bun 1.3.14
* against a server that withholds response headers, so the numbers below are
* the real deadline rather than an inferred one:
* against a server that withholds response headers, with the numeric behavior
* rechecked on Bun 1.4.1, so the numbers below are the real deadline rather
* than an inferred one:
*
* no option -> THREW 300028ms (TimeoutError) <- the 300s default
* timeout: false -> RESOLVED 310031ms <- disarmed
Expand All @@ -56,10 +57,10 @@ import { Agent, type Dispatcher } from 'undici'
* dispatcher armed at 200ms -> THREW 1011ms <- honored
* dispatcher with 0/0 vs a 310s server -> RESOLVED 310016ms <- disarmed
*
* `bun-types@1.3.14` does not declare `timeout` on `BunFetchRequestInit`, and
* the DOM lib does not declare undici's `dispatcher`, even though each runtime
* honors its respective option — the types lag the runtimes, which is why the
* interface below is declared locally rather than imported.
* `bun-types@1.4.1` declares `timeout` on `BunFetchRequestInit`, but the shared
* DOM lib does not declare that Bun extension or undici's `dispatcher`. The
* interface below therefore stays local so this cross-runtime helper does not
* depend on either runtime's ambient types.
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=22.19.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/scripts/pi-sandbox-packages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/

/** Bun version mirrored from the root packageManager field. */
export const PI_BUN_VERSION = '1.3.14'
export const PI_BUN_VERSION = '1.4.1'

/** Exact Pi version mirrored from the app dependencies and lockfile. */
export const PI_PACKAGE_VERSION = '0.80.10'
Expand Down
2 changes: 1 addition & 1 deletion docker/app.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ========================================
# Base Stage: runtime-only dependencies (inherited by the final image)
# ========================================
FROM oven/bun:1.3.14-slim AS base
FROM oven/bun:1.4.1-slim AS base

# Install Node.js 24 (Active LTS) and the runtime dependencies once in base.
# Node runs only the isolated-vm sandbox worker (the app itself runs under Bun);
Expand Down
2 changes: 1 addition & 1 deletion docker/db.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ========================================
# Base Stage: Alpine Linux with Bun
# ========================================
FROM oven/bun:1.3.14-alpine AS base
FROM oven/bun:1.4.1-alpine AS base

# ========================================
# Dependencies Stage: Install Dependencies
Expand Down
2 changes: 1 addition & 1 deletion docker/realtime.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ========================================
# Base Stage: Alpine Linux with Bun
# ========================================
FROM oven/bun:1.3.14-alpine AS base
FROM oven/bun:1.4.1-alpine AS base

RUN apk add --no-cache libc6-compat curl

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simstudio",
"packageManager": "bun@1.3.14",
"packageManager": "bun@1.4.1",
"version": "0.0.0",
"private": true,
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/audit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/browser-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/desktop-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/emcn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/platform-authz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/realtime-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/security/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/terminal-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/testing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-persistence/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion packages/workflow-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"license": "Apache-2.0",
"engines": {
"bun": ">=1.3.14",
"bun": ">=1.4.1",
"node": ">=20.0.0"
},
"exports": {
Expand Down
Loading