Skip to content
Open
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
5 changes: 5 additions & 0 deletions .changeset/test-and-use-node-26.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"braintrust": patch
---

misc: Test and use node 26
8 changes: 4 additions & 4 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-2025-vs2026]
node-version: [20, 22, 24]
node-version: [20, 22, 24, 26]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: ${{ matrix.node-version == 20 && 'true' || '' }}
steps:
Expand Down Expand Up @@ -364,7 +364,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
node-version: [20, 22, 24, 26]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: ${{ matrix.node-version == 20 && 'true' || '' }}
steps:
Expand Down Expand Up @@ -392,7 +392,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
node-version: [20, 22, 24, 26]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: ${{ matrix.node-version == 20 && 'true' || '' }}
steps:
Expand Down Expand Up @@ -420,7 +420,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
node-version: [20, 22, 24, 26]
test-dir: [otel-v1, otel-v2]
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: ${{ matrix.node-version == 20 && 'true' || '' }}
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodejs 24.15.0
nodejs 26.8.2
npm 11.12.1
pnpm 10.33.0
deno 2.7.6
Expand Down
5 changes: 2 additions & 3 deletions integrations/otel-js/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ RUN if [ -z "$NODE_VERSION" ] || [ "$NODE_VERSION" = "REQUIRED" ]; then echo "Er
RUN if [ -z "$TEST_DIR" ]; then echo "Error: TEST_DIR build arg is required (e.g., --build-arg TEST_DIR=otel-v1)" && exit 1; fi
RUN if [ "$TEST_DIR" != "otel-v1" ] && [ "$TEST_DIR" != "otel-v2" ]; then echo "Error: TEST_DIR must be either 'otel-v1' or 'otel-v2', got: '$TEST_DIR'" && exit 1; fi

# Enable pnpm
RUN corepack enable
RUN corepack prepare pnpm@10 --activate
# Install pnpm (Corepack is not included in Node.js 26 images)
RUN npm install --global pnpm@10

# Install build dependencies
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
Expand Down
Loading