feat(e2e): MSW cassette layer for hermetic e2e tests #4883
integration-tests.yaml
on: pull_request
e2e
7m 54s
e2e-canary
9m 16s
Matrix: js-provider-tests
Annotations
32 errors and 6 warnings
|
js-provider-tests (ubuntu-latest, 20)
Process completed with exit code 1.
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and gives to thee thine glory"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
js-provider-tests (ubuntu-latest, 22)
Process completed with exit code 1.
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L391
AssertionError: expected 'shallicomparetheeatoasummersday thoua…' to contain 'shall i compare thee to a summers day'
Expected: "shall i compare thee to a summers day"
Received: "shallicomparetheeatoasummersday thouartmorelovelyandmoretemperate roughwindsdonshakethedarlingsbudsofmay andsummersleasehathalltooshshortadate sometimestooghottheeeyeofheavenshines andsoftengoldencomplexionisdimmed andeveryfalirfromfairsometimesdeclines bychangeornaturesforceornaturesrimmed butthyeternalsummersshallfadefade norlosepossessionofthatfairethouowest butbeautyslegacyshallneverbefade inlinestotheethybeautyshallbeshowed solong asmencanbreatheoeyescanseee solong livesthisandthisgiveslifetothee"
❯ src/wrappers/anthropic.test.ts:391:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L391
AssertionError: expected 'shallicomparetheeatoasummersday thoua…' to contain 'shall i compare thee to a summers day'
Expected: "shall i compare thee to a summers day"
Received: "shallicomparetheeatoasummersday thouartmorelovelyandmoretemperate roughwindsdonshakethedarlingsbudsofmay andsummersleasehathalltooshshortadate sometimestooghottheeeyeofheavenshines andsoftengoldencomplexionisdimmed andeveryfalirfromfairsometimesdeclines bychangeornaturesforceornaturesrimmed butthyeternalsummersshallfadefade norlosepossessionofthatfairethouowest butbeautyselfshalltothedeathgonade inethernallinestomeliveesthouowest solong asmencanbreatheoeyescanseee solonglivesthisandthisgiveslifetotheee"
❯ src/wrappers/anthropic.test.ts:391:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L391
AssertionError: expected 'shallicomparetheeatoasummersday thoua…' to contain 'shall i compare thee to a summers day'
Expected: "shall i compare thee to a summers day"
Received: "shallicomparetheeatoasummersday thouartmorelovelyandmoretemperate roughwindsdonshakethedarlingsbudsofmay andsummersleasehathalltooshshortadate sometimestooghottheeeyeofheavenshines andoftenishistgoldencompleximndimmed andeveryfalirfromfairsometimesdeclines bychangeornaturesnaturesricharelrimmed butthyeternalsummersshallfadefade norlosepossessionofthatfaiirthouowest norshalldeatbragthouwanderestinhisshade whentimesethernallinesshalltotheereest solong asmencanbreatheoeyescanseee solonglivesthisandthisgiveslifetotheee"
❯ src/wrappers/anthropic.test.ts:391:20
|
|
js-provider-tests (windows-latest, 22)
Process completed with exit code 1.
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
js-provider-tests (windows-latest, 20)
Process completed with exit code 1.
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L391
AssertionError: expected 'shallicomparetheeatoasummersday thoua…' to contain 'shall i compare thee to a summers day'
Expected: "shall i compare thee to a summers day"
Received: "shallicomparetheeatoasummersday thouartmorelovelyandmoretemperate roughwindsdonshakethedarlingsbudsofmay andsummersleasehathalltooshshortadate sometimestooghottheeeyeofheavenshines andsoftengoldencomplexionisdimmed andeveryfalirfromfairsometimesdeclines bychangeornaturesforceornaturesrimmed butthyeternalsummersshallfadefade norlosepossessionofthatfairethouowest butbeautysbeautyshallremainintheshade whenallthetreasureofthylustyowest solong asmencanbreatheoeyescanseee solong livesthisandthisgiveslifetothee"
❯ src/wrappers/anthropic.test.ts:391:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L391
AssertionError: expected 'shallicomparetheeatoasummersday thoua…' to contain 'shall i compare thee to a summers day'
Expected: "shall i compare thee to a summers day"
Received: "shallicomparetheeatoasummersday thouartmorelovelyandmoretemperate roughwindsdonshakethedarlingsbudsofmay andsummersleasehathalltooshshortadate sometimestooghottheeeyeofheavenshines andsoftengoldencomplexionisdimmed andeveryfalirfromfairsometimesdeclines bychangeornaturesforceornaturesrimmed butthyeternalsummersshallfadefade norlosepossessionofthatfairethouowest butbeautyslegacyshallneverbefade inlinestotheeyeofallposterity solong asmencanbreatheoeyescanseee solonglivesthisandthisgiveslifetothee"
❯ src/wrappers/anthropic.test.ts:391:20
|
|
src/wrappers/anthropic.test.ts > anthropic client unit tests > test client.message.create with stream=true:
js/src/wrappers/anthropic.test.ts#L392
AssertionError: expected 'shall i compare thee to a summers day…' to contain 'shakespeare'
Expected: "shakespeare"
Received: "shall i compare thee to a summers day thou art more lovely and more temperate rough winds do shake the darling buds of may and summers lease hath all too short a date sometime too hot the eye of heaven shines and often is his gold complexion dimmed and every fair from fair sometime declines by chance or natures changing course untrimmed but thy eternal summer shall not fade nor lose possession of that fair thou owest nor shall death brag thou wanderest in his shade when in eternal lines to time thou growest so long as men can breathe or eyes can see so long lives this and this gives life to thee"
❯ src/wrappers/anthropic.test.ts:392:20
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.21.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
TooManyRequestsError: TooManyRequestsError
Status code: 429
Body: {
"id": "f507d192-76b6-46f1-aae3-b53c0be0c086",
"message": "You are past the per-month request limit for this model, please wait and try again later."
}
at V2Client.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:126:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 429,
body: {
id: 'f507d192-76b6-46f1-aae3-b53c0be0c086',
message: 'You are past the per-month request limit for this model, please wait and try again later.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '8fb3f6e618528eb254c86bcad2e88e83',
date: 'Sat, 02 May 2026 20:26:20 GMT',
'x-envoy-upstream-service-time': '4',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 429,
statusText: 'Too Many Requests',
type: 'basic',
url: 'https://api.cohere.com/v2/chat'
}
}
❯ V2Client.<anonymous> .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:126:31
❯ fulfilled .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:488:11
❯ runScenarioDir helpers/scenario-harness.ts:507:10
❯ runWithContext helpers/scenario-harness.ts:674:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:37:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:687:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.21.0 > auto-hook instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/scenario.cohere-v7.mjs failed with exit code 1
STDOUT:
STDERR:
TooManyRequestsError: TooManyRequestsError
Status code: 429
Body: {
"id": "15c59bad-da91-4f0c-80ad-2c96de6cdaae",
"message": "You are past the per-month request limit for this model, please wait and try again later."
}
at V2Client.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:211:19)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:59:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 429,
body: {
id: '15c59bad-da91-4f0c-80ad-2c96de6cdaae',
message: 'You are past the per-month request limit for this model, please wait and try again later.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '54c9cbd0fe2b7d0535b5e13b33ebade1',
date: 'Sat, 02 May 2026 20:26:15 GMT',
'x-envoy-upstream-service-time': '6',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 429,
statusText: 'Too Many Requests',
type: 'basic',
url: 'https://api.cohere.com/v2/chat'
}
}
❯ V2Client.<anonymous> .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:211:19
❯ fulfilled .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:59:24
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:488:11
❯ runNodeScenarioDir helpers/scenario-harness.ts:521:10
❯ runWithContext helpers/scenario-harness.ts:674:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:59:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:687:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.21.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
TooManyRequestsError: TooManyRequestsError
Status code: 429
Body: {
"id": "3156d628-2aa9-486c-9e08-484635251f9b",
"message": "You are past the per-month request limit for this model, please wait and try again later."
}
at V2Client.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:126:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 429,
body: {
id: '3156d628-2aa9-486c-9e08-484635251f9b',
message: 'You are past the per-month request limit for this model, please wait and try again later.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '4fa609ee4f1826411759a9747d1c771f',
date: 'Sat, 02 May 2026 20:26:10 GMT',
'x-envoy-upstream-service-time': '5',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 429,
statusText: 'Too Many Requests',
type: 'basic',
url: 'https://api.cohere.com/v2/chat'
}
}
❯ V2Client.<anonymous> .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:126:31
❯ fulfilled .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:488:11
❯ runScenarioDir helpers/scenario-harness.ts:507:10
❯ runWithContext helpers/scenario-harness.ts:674:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:37:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:687:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.20.0 > auto-hook instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/scenario.cohere-v7.mjs failed with exit code 1
STDOUT:
STDERR:
TooManyRequestsError: TooManyRequestsError
Status code: 429
Body: {
"id": "db8ce53b-1d3e-4cf7-8a45-87b330460855",
"message": "You are past the per-month request limit for this model, please wait and try again later."
}
at V2Client.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:211:19)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:59:24)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 429,
body: {
id: 'db8ce53b-1d3e-4cf7-8a45-87b330460855',
message: 'You are past the per-month request limit for this model, please wait and try again later.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '5c1a9a8e416b5edfb7fc04a801c3411d',
date: 'Sat, 02 May 2026 20:26:05 GMT',
'x-envoy-upstream-service-time': '6',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 429,
statusText: 'Too Many Requests',
type: 'basic',
url: 'https://api.cohere.com/v2/chat'
}
}
❯ V2Client.<anonymous> .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:211:19
❯ fulfilled .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:59:24
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:488:11
❯ runNodeScenarioDir helpers/scenario-harness.ts:521:10
❯ runWithContext helpers/scenario-harness.ts:674:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:59:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:687:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/cohere-instrumentation/scenario.test.ts > cohere sdk 7.20.0 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/scenario.cohere-v7.ts failed with exit code 1
STDOUT:
STDERR:
TooManyRequestsError: TooManyRequestsError
Status code: 429
Body: {
"id": "6a46f384-b8e0-442a-91f6-153b95f9d5e7",
"message": "You are past the per-month request limit for this model, please wait and try again later."
}
at V2Client.<anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:126:31)
at Generator.next (<anonymous>)
at fulfilled (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:39:58)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
statusCode: 429,
body: {
id: '6a46f384-b8e0-442a-91f6-153b95f9d5e7',
message: 'You are past the per-month request limit for this model, please wait and try again later.'
},
rawResponse: {
headers: Headers {
'access-control-expose-headers': 'X-Debug-Trace-ID',
'cache-control': 'no-cache, no-store, no-transform, must-revalidate, private, max-age=0',
'content-encoding': 'gzip',
'content-type': 'application/json',
expires: 'Thu, 01 Jan 1970 00:00:00 GMT',
pragma: 'no-cache',
vary: 'Origin,Accept-Encoding',
'x-accel-expires': '0',
'x-debug-trace-id': '71ca99c9ab460f74629ddd09777ea250',
date: 'Sat, 02 May 2026 20:26:00 GMT',
'x-envoy-upstream-service-time': '4',
server: 'envoy',
via: '1.1 google',
'alt-svc': 'h3=":443"; ma=2592000',
'transfer-encoding': 'chunked'
},
redirected: false,
status: 429,
statusText: 'Too Many Requests',
type: 'basic',
url: 'https://api.cohere.com/v2/chat'
}
}
❯ V2Client.<anonymous> .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:126:31
❯ fulfilled .bt-tmp/run-Qo1zFL/scenarios/cohere-instrumentation/node_modules/.pnpm/cohere-ai@7.21.0/node_modules/cohere-ai/api/resources/v2/client/Client.js:39:58
❯ runScenarioDirOrThrow helpers/scenario-harness.ts:488:11
❯ runScenarioDir helpers/scenario-harness.ts:507:10
❯ runWithContext helpers/scenario-harness.ts:674:20
❯ Object.runScenario scenarios/cohere-instrumentation/scenario.test.ts:37:9
❯ scenarios/cohere-instrumentation/assertions.ts:116:9
❯ withScenarioHarness helpers/scenario-harness.ts:687:5
❯ scenarios/cohere-instrumentation/assertions.ts:115:7
|
|
scenarios/ai-sdk-instrumentation/scenario.test.ts > ai sdk 6.0.1 > auto-hook instrumentation:
js/dist/index.mjs#L13479
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/scenario.mjs failed with exit code 1
STDOUT:
STDERR:
APICallError [AI_APICallError]: Invalid JSON response
at file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@4.0.4_zod@3.25.76/node_modules/@ai-sdk/provider-utils/dist/index.mjs:2394:11
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
... 6 lines matching cause stack trace ...
at async fn (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:3172:38)
at async file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/dist/index.mjs:1539:22 {
cause: JSONParseError [AI_JSONParseError]: JSON parsing failed: Text: event: response.created
data: {"type":"response.created","response":{"id":"resp_0e5817a3911feccf0069efe8c58914819680c0100e1c69757d","object":"response","created_at":1777330373,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}
event: response.in_progress
data: {"type":"response.in_progress","response":{"id":"resp_0e5817a3911feccf0069efe8c58914819680c0100e1c69757d","object":"response","created_at":1777330373,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}
event: response.output_item.added
data: {"type":"response.output_item.added","item":{"id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":0,"sequence_number":2}
event: response.content_part.added
data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","output_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":3}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":"One","item_id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","logprobs":[],"obfuscation":"1yHAAGPOc2K8U","output_index":0,"sequence_number":4}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":",","item_id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","logprobs":[],"obfuscation":"5KiwE2kk1rM673S","output_index":0,"sequence_number":5}
event: response.output_text.delta
data: {"type":"
|
|
scenarios/ai-sdk-instrumentation/scenario.test.ts > ai sdk 6.0.1 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/scenario.ts failed with exit code 1
STDOUT:
STDERR:
APICallError [AI_APICallError]: Invalid JSON response
at <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@4.0.4_zod@3.25.76/node_modules/@ai-sdk/provider-utils/src/response-handler.ts:117:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
... 6 lines matching cause stack trace ...
at async fn (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/generate-text/generate-text.ts:467:34)
at async <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@6.0.1_zod@3.25.76/node_modules/ai/src/telemetry/record-span.ts:21:24) {
cause: JSONParseError [AI_JSONParseError]: JSON parsing failed: Text: event: response.created
data: {"type":"response.created","response":{"id":"resp_0e5817a3911feccf0069efe8c58914819680c0100e1c69757d","object":"response","created_at":1777330373,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}
event: response.in_progress
data: {"type":"response.in_progress","response":{"id":"resp_0e5817a3911feccf0069efe8c58914819680c0100e1c69757d","object":"response","created_at":1777330373,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}
event: response.output_item.added
data: {"type":"response.output_item.added","item":{"id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":0,"sequence_number":2}
event: response.content_part.added
data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","output_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":3}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":"One","item_id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","logprobs":[],"obfuscation":"1yHAAGPOc2K8U","output_index":0,"sequence_number":4}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":",","item_id":"msg_0e5817a3911feccf0069efe8c656988196a8fe72667e8254a7","logprobs":[],"obfuscation":"5KiwE2kk1rM673S","output_index":0,"sequence_number":5}
event:
|
|
scenarios/ai-sdk-instrumentation/scenario.test.ts > ai sdk 5.0.82 > auto-hook instrumentation:
js/dist/index.mjs#L13479
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/scenario.ai-sdk-v5.mjs failed with exit code 1
STDOUT:
STDERR:
APICallError [AI_APICallError]: Invalid JSON response
at file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@3.0.14_zod@3.25.76/node_modules/@ai-sdk/provider-utils/dist/index.mjs:959:11
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
... 6 lines matching cause stack trace ...
at async fn (file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@5.0.82_zod@3.25.76/node_modules/ai/dist/index.mjs:1821:38)
at async file:///home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@5.0.82_zod@3.25.76/node_modules/ai/dist/index.mjs:1237:22 {
cause: JSONParseError [AI_JSONParseError]: JSON parsing failed: Text: event: response.created
data: {"type":"response.created","response":{"id":"resp_002e7208a2a152950069efe8bea5c48190ab5a0d108ad2529c","object":"response","created_at":1777330366,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}
event: response.in_progress
data: {"type":"response.in_progress","response":{"id":"resp_002e7208a2a152950069efe8bea5c48190ab5a0d108ad2529c","object":"response","created_at":1777330366,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}
event: response.output_item.added
data: {"type":"response.output_item.added","item":{"id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":0,"sequence_number":2}
event: response.content_part.added
data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","output_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":3}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":"One","item_id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","logprobs":[],"obfuscation":"DkFgB3Zrhjlka","output_index":0,"sequence_number":4}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":",","item_id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","logprobs":[],"obfuscation":"cfdj8L62iMkHFqr","output_index":0,"sequence_number":5}
event: response.output_text.delta
dat
|
|
scenarios/ai-sdk-instrumentation/scenario.test.ts > ai sdk 5.0.82 > wrapped instrumentation:
e2e/helpers/scenario-harness.ts#L488
Error: Scenario /home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/scenario.ai-sdk-v5.ts failed with exit code 1
STDOUT:
STDERR:
APICallError [AI_APICallError]: Invalid JSON response
at <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/@ai-sdk+provider-utils@3.0.14_zod@3.25.76/node_modules/@ai-sdk/provider-utils/src/response-handler.ts:152:13)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
... 6 lines matching cause stack trace ...
at async fn (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@5.0.82_zod@3.25.76/node_modules/ai/src/generate-text/generate-text.ts:345:34)
at async <anonymous> (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e/.bt-tmp/run-VYaT4D/scenarios/ai-sdk-instrumentation/node_modules/.pnpm/ai@5.0.82_zod@3.25.76/node_modules/ai/src/telemetry/record-span.ts:18:22) {
cause: JSONParseError [AI_JSONParseError]: JSON parsing failed: Text: event: response.created
data: {"type":"response.created","response":{"id":"resp_002e7208a2a152950069efe8bea5c48190ab5a0d108ad2529c","object":"response","created_at":1777330366,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":0}
event: response.in_progress
data: {"type":"response.in_progress","response":{"id":"resp_002e7208a2a152950069efe8bea5c48190ab5a0d108ad2529c","object":"response","created_at":1777330366,"status":"in_progress","background":false,"completed_at":null,"error":null,"frequency_penalty":0.0,"incomplete_details":null,"instructions":null,"max_output_tokens":32,"max_tool_calls":null,"model":"gpt-4o-mini-2024-07-18","moderation":null,"output":[],"parallel_tool_calls":true,"presence_penalty":0.0,"previous_response_id":null,"prompt_cache_key":null,"prompt_cache_retention":"in_memory","reasoning":{"effort":null,"summary":null},"safety_identifier":null,"service_tier":"auto","store":true,"temperature":0.0,"text":{"format":{"type":"text"},"verbosity":"medium"},"tool_choice":"auto","tools":[],"top_logprobs":0,"top_p":1.0,"truncation":"disabled","usage":null,"user":null,"metadata":{}},"sequence_number":1}
event: response.output_item.added
data: {"type":"response.output_item.added","item":{"id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","type":"message","status":"in_progress","content":[],"role":"assistant"},"output_index":0,"sequence_number":2}
event: response.content_part.added
data: {"type":"response.content_part.added","content_index":0,"item_id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","output_index":0,"part":{"type":"output_text","annotations":[],"logprobs":[],"text":""},"sequence_number":3}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":"One","item_id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","logprobs":[],"obfuscation":"DkFgB3Zrhjlka","output_index":0,"sequence_number":4}
event: response.output_text.delta
data: {"type":"response.output_text.delta","content_index":0,"delta":",","item_id":"msg_002e7208a2a152950069efe8bf18a8819088d7797b643469d3","logprobs":[],"obfuscation":"cfdj8L62iMkHFqr","output_index":0,"sequence_number":5
|
|
e2e
@braintrust/js-e2e-tests#test:e2e: command (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:e2e exited (1)
|
|
e2e-canary
Process completed with exit code 1.
|
|
e2e-canary
@braintrust/js-e2e-tests#test:e2e:canary: command (/home/runner/work/braintrust-sdk-javascript/braintrust-sdk-javascript/e2e) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test:e2e:canary exited (1)
|
|
js-provider-tests (ubuntu-latest, 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
js-provider-tests (ubuntu-latest, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
js-provider-tests (windows-latest, 22)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
js-provider-tests (windows-latest, 20)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
e2e-canary
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|