Skip to content

test: Fixed two assertions to work against older versions of openai #5719

test: Fixed two assertions to work against older versions of openai

test: Fixed two assertions to work against older versions of openai #5719

Triggered via pull request November 12, 2024 20:30
Status Success
Total duration 12m 25s
Artifacts 12

ci-workflow.yml

on: pull_request
should_run
8s
should_run
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
0s
all-clear
Fit to window
Zoom out
Zoom in

Annotations

10 warnings and 16 notices
lint (lts/*): api.js#L1550
The type 'getTraceMetadata' is undefined
lint (lts/*): api.js#L1904
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L124
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L173
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L205
Missing JSDoc @returns declaration
lint (lts/*): bin/create-docs-pr.js#L311
Missing JSDoc @returns declaration
lint (lts/*): lib/agent.js#L210
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L221
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L231
'config' is already declared in the upper scope on line 158 column 16
lint (lts/*): lib/agent.js#L242
'config' is already declared in the upper scope on line 158 column 16
ci (lts/*)
Total Tests: 4 Suites 📂: 0 Passed ✅: 4 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 1226.709ms
integration (18.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 648.161ms
integration (18.x)
Total Tests: 67 Suites 📂: 0 Passed ✅: 67 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 138215.434ms
integration (20.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 464.431ms
integration (20.x)
Total Tests: 67 Suites 📂: 0 Passed ✅: 67 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 139332.223ms
integration (22.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 468.996ms
integration (22.x)
Total Tests: 67 Suites 📂: 0 Passed ✅: 67 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 154551.467ms
unit (20.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (20.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (20.x)
Total Tests: 4411 Suites 📂: 0 Passed ✅: 4389 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 203392.725ms
unit (18.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (18.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (18.x)
Total Tests: 4413 Suites 📂: 0 Passed ✅: 4394 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 204248.096ms
unit (22.x): test/unit/util/code-level-metrics.test.js#L104
This is testing Express router.route which binds a function thus breaking any function metadata
unit (22.x): test/unit/spans/batch-span-streamer.test.js#L199
this will simulate n full batches and the last batch being 1/3 full
unit (22.x)
Total Tests: 4411 Suites 📂: 0 Passed ✅: 4389 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 261037.722ms

Artifacts

Produced during runtime
Name Size
integration-tests-cjs-18.x
125 KB
integration-tests-cjs-20.x
125 KB
integration-tests-cjs-22.x
125 KB
integration-tests-esm-18.x
72.9 KB
integration-tests-esm-20.x
72.8 KB
integration-tests-esm-22.x
72.8 KB
unit-tests-18.x
161 KB
unit-tests-20.x
161 KB
unit-tests-22.x
161 KB
versioned-tests-18.x
144 KB
versioned-tests-20.x
145 KB
versioned-tests-22.x
145 KB