chore(studio): bump braintrust 3.4.0 → 3.9.0 (#44729)

Bumps braintrust from 3.4.0 to ~~3.7.1~~ 3.9.0

~~Notable fix: v3.7.0 preserves the returned promise in tracing channel
hooks, which should resolve incorrect duration reporting in the
dashboard (braintrustdata/braintrust-sdk-javascript#1617)~~

3.9.0 includes this fix for double counted durations
https://github.com/braintrustdata/braintrust-sdk-javascript/pull/1769

See eval results in comment below, this fixes the issue where LLM
Duration was clocking in larger than total Duration.

<img width="2384" height="1548" alt="CleanShot 2026-04-21 at 09 27
36@2x"
src="https://github.com/user-attachments/assets/7ad5a75c-e3c4-44e1-98d8-ad4849049f7a"
/>


Closes AI-578

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
  * Updated Braintrust dependency to version 3.9.0

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Matt Rossman authored and GitHub committed 2026-04-21 10:17:36 -04:00
1 parent 19a6fc90ac
commit c0c6f70f02
3 files changed
+51 -29

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@
"@vitest/ui": "catalog:",
"api-types": "workspace:*",
"autoevals": "^0.0.132",
"braintrust": "^3.4.0",
"braintrust": "^3.9.0",
"common": "workspace:*",
"config": "workspace:*",
"date-fns": "^2.30.0",
+49 -28
View File
@@ -1308,8 +1308,8 @@ importers:
specifier: ^0.0.132
version: 0.0.132(ws@8.19.0)
braintrust:
specifier: ^3.4.0
version: 3.4.0(@aws-sdk/credential-provider-web-identity@3.830.0)(supports-color@8.1.1)(zod@3.25.76)
specifier: ^3.9.0
version: 3.9.0(@aws-sdk/credential-provider-web-identity@3.830.0)(supports-color@8.1.1)(zod@3.25.76)
date-fns:
specifier: ^2.30.0
version: 2.30.0
@@ -2979,12 +2979,12 @@ packages:
'@antfu/utils@9.2.1':
resolution: {integrity: sha512-TMilPqXyii1AsiEii6l6ubRzbo76p6oshUSYPaKsmXDavyMLqjzVDkcp3pHp5ELMUNJHATcEOGxKTTsX9yYhGg==}
'@apm-js-collab/code-transformer@0.12.0':
resolution: {integrity: sha512-5F2ob4cMYezbaUGAk+YltbDvb9BFIghN92ubct9Ho/0MFx4FkChCxYV99NkU6Kx+RAgaqBV6yxKuWreQ6K8SOw==}
'@apm-js-collab/code-transformer@0.8.2':
resolution: {integrity: sha512-YRjJjNq5KFSjDUoqu5pFUWrrsvGOxl6c3bu+uMFc9HNNptZ2rNU/TI2nLw4jnhQNtka972Ee2m3uqbvDQtPeCA==}
'@apm-js-collab/code-transformer@0.9.0':
resolution: {integrity: sha512-cfHtufVUBKJz6se/tQBJqizgoot5AOxhVy5B9Cuo493p6b7hXKBEIi6tcZEbr4XwN1VnV9JZOu52MMTCOCSBMw==}
'@apm-js-collab/tracing-hooks@0.3.1':
resolution: {integrity: sha512-Vu1CbmPURlN5fTboVuKMoJjbO5qcq9fA5YXpskx3dXe/zTBvjODFoerw+69rVBlRLrJpwPqSDqEuJDEKIrTldw==}
@@ -10249,6 +10249,10 @@ packages:
resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==}
hasBin: true
astring@1.9.0:
resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==}
hasBin: true
async-sema@3.1.1:
resolution: {integrity: sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==}
@@ -10437,8 +10441,8 @@ packages:
resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}
engines: {node: '>=8'}
braintrust@3.4.0:
resolution: {integrity: sha512-LsyvraUPcW+EAiUd7N5iMePrHk4n0LJ3/S4DiBljj2pLsDSavic987RPStS9L6cJG6qXc6BKCwKaLQf/1JaPuQ==}
braintrust@3.9.0:
resolution: {integrity: sha512-Sd/HC8qGgKsRf3hX1nLeyhoQZkUBIVmq4c+kV36FEbK77JyHiq9Bz11q/KPr1zzmPRhHRx4bA5zySuMUbVWFug==}
hasBin: true
peerDependencies:
zod: ^3.25.34 || ^4.0
@@ -11397,8 +11401,8 @@ packages:
sqlite3:
optional: true
dc-browser@1.0.3:
resolution: {integrity: sha512-B2PJFzWouEPzc+jLo+yTgUXaVz0eZjVsfKX9CnUDzezsluxOKOjllBpw0EJJ1KNJGnNzKpZ4dDYtd+jVp0KRNA==}
dc-browser@1.0.4:
resolution: {integrity: sha512-7oEtnzNlcE+hr4OvO3GR6Gndgw8BhW+wKOEwMqSleyY7N29jbAxzyW5BaJl7qBCw+6OIxfMWtY0T+6dxq8RWLw==}
debounce-promise@3.1.2:
resolution: {integrity: sha512-rZHcgBkbYavBeD9ej6sP56XfG53d51CD4dnaw989YX/nZ/ZJfgRx/9ePKmTNiUiyQvh4mtrMoS3OAWW+yoYtpg==}
@@ -12057,6 +12061,10 @@ packages:
resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==}
engines: {node: '>=0.10'}
esquery@1.7.0:
resolution: {integrity: sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==}
engines: {node: '>=0.10'}
esrecurse@4.3.0:
resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}
engines: {node: '>=4.0'}
@@ -14392,6 +14400,10 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
meriyah@6.1.4:
resolution: {integrity: sha512-Sz8FzjzI0kN13GK/6MVEsVzMZEPvOhnmmI1lU5+/1cGOiK3QUahntrNNtdVeihrO7t9JpoH75iMNXg6R6uWflQ==}
engines: {node: '>=18.0.0'}
mermaid@11.12.1:
resolution: {integrity: sha512-UlIZrRariB11TY1RtTgUWp65tphtBv4CSq7vyS2ZZ2TgoMjs2nloq+wFqxiwcxlhHUvs7DPGgMjs2aeQxz5h9g==}
@@ -16944,6 +16956,9 @@ packages:
resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}
engines: {node: '>=4'}
semifies@1.0.0:
resolution: {integrity: sha512-xXR3KGeoxTNWPD4aBvL5NUpMTT7WMANr3EWnaS190QVkY52lqqcVRD7Q05UVbBhiWDGWMlJEUam9m7uFFGVScw==}
semver@5.7.2:
resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==}
hasBin: true
@@ -18198,10 +18213,6 @@ packages:
unplugin@1.0.1:
resolution: {integrity: sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA==}
unplugin@2.3.10:
resolution: {integrity: sha512-6NCPkv1ClwH+/BGE9QeoTIl09nuiAt0gS28nn1PvYXsGKRwM2TCbFA2QiilmehPDTXIe684k4rZI1yl3A1PCUw==}
engines: {node: '>=18.12.0'}
unplugin@2.3.11:
resolution: {integrity: sha512-5uKD0nqiYVzlmCRs01Fhs2BdkEgBS3SAVP6ndrBsuK42iC2+JHyxM05Rm9G8+5mkmRtzMZGY8Ct5+mliZxU/Ww==}
engines: {node: '>=18.12.0'}
@@ -19193,9 +19204,16 @@ snapshots:
'@antfu/utils@9.2.1': {}
'@apm-js-collab/code-transformer@0.8.2': {}
'@apm-js-collab/code-transformer@0.12.0':
dependencies:
'@types/estree': 1.0.8
astring: 1.9.0
esquery: 1.7.0
meriyah: 6.1.4
semifies: 1.0.0
source-map: 0.6.1
'@apm-js-collab/code-transformer@0.9.0': {}
'@apm-js-collab/code-transformer@0.8.2': {}
'@apm-js-collab/tracing-hooks@0.3.1(supports-color@8.1.1)':
dependencies:
@@ -28134,6 +28152,8 @@ snapshots:
astring@1.8.6: {}
astring@1.9.0: {}
async-sema@3.1.1: {}
async@3.2.4: {}
@@ -28364,10 +28384,10 @@ snapshots:
dependencies:
fill-range: 7.1.1
braintrust@3.4.0(@aws-sdk/credential-provider-web-identity@3.830.0)(supports-color@8.1.1)(zod@3.25.76):
braintrust@3.9.0(@aws-sdk/credential-provider-web-identity@3.830.0)(supports-color@8.1.1)(zod@3.25.76):
dependencies:
'@ai-sdk/provider': 1.1.3
'@apm-js-collab/code-transformer': 0.9.0
'@apm-js-collab/code-transformer': 0.12.0
'@next/env': 14.2.35
'@vercel/functions': 1.6.0(@aws-sdk/credential-provider-web-identity@3.830.0)
ajv: 8.18.0
@@ -28377,7 +28397,7 @@ snapshots:
cli-progress: 3.12.0
cli-table3: 0.6.5
cors: 2.8.5
dc-browser: 1.0.3
dc-browser: 1.0.4
dotenv: 16.5.0
esbuild: 0.25.2
eventsource-parser: 1.1.2
@@ -28388,10 +28408,10 @@ snapshots:
module-details-from-path: 1.0.4
mustache: 4.2.0
pluralize: 8.0.0
simple-git: 3.32.3(supports-color@8.1.1)
simple-git: 3.33.0(supports-color@8.1.1)
source-map: 0.7.6
termi-link: 1.1.0
unplugin: 2.3.10
unplugin: 2.3.11
uuid: 9.0.1
zod: 3.25.76
zod-to-json-schema: 3.25.1(zod@3.25.76)
@@ -29474,7 +29494,7 @@ snapshots:
optionalDependencies:
'@electric-sql/pglite': 0.2.15
dc-browser@1.0.3: {}
dc-browser@1.0.4: {}
debounce-promise@3.1.2: {}
@@ -30216,6 +30236,10 @@ snapshots:
dependencies:
estraverse: 5.3.0
esquery@1.7.0:
dependencies:
estraverse: 5.3.0
esrecurse@4.3.0:
dependencies:
estraverse: 5.3.0
@@ -32964,6 +32988,8 @@ snapshots:
merge2@1.4.1: {}
meriyah@6.1.4: {}
mermaid@11.12.1(supports-color@8.1.1):
dependencies:
'@braintree/sanitize-url': 7.1.1
@@ -36388,6 +36414,8 @@ snapshots:
extend-shallow: 2.0.1
kind-of: 6.0.3
semifies@1.0.0: {}
semver@5.7.2: {}
semver@6.3.1: {}
@@ -37913,13 +37941,6 @@ snapshots:
webpack-sources: 3.3.4
webpack-virtual-modules: 0.5.0
unplugin@2.3.10:
dependencies:
'@jridgewell/remapping': 2.3.5
acorn: 8.16.0
picomatch: 4.0.4
webpack-virtual-modules: 0.6.2
unplugin@2.3.11:
dependencies:
'@jridgewell/remapping': 2.3.5
+1
View File
@@ -50,6 +50,7 @@ minimumReleaseAgeExclude:
- '@ai-sdk/*'
- '@supabase/*'
- '@supabase-labs/*'
- braintrust # Included for bugfix in v3.9.0
# The following packages are excluded from the minimum release age check because they had a vulneralibity
# Delete them the next time you update this list
- follow-redirects