Skip to content

feat: Removed references to segment.transaction and instead get #2018

feat: Removed references to segment.transaction and instead get

feat: Removed references to segment.transaction and instead get #2018

Triggered via push October 11, 2024 19:16
Status Failure
Total duration 10m 58s
Artifacts 12

ci-workflow.yml

on: push
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

14 errors, 10 warnings, and 16 notices
lint (lts/*): lib/instrumentation/aws-sdk/v3/bedrock.js#L165
Replace `·agent,·shim,·segment,·transaction,·bedrockCommand,·bedrockResponse,·err·` with `⏎··agent,⏎··shim,⏎··segment,⏎··transaction,⏎··bedrockCommand,⏎··bedrockResponse,⏎··err⏎`
lint (lts/*): lib/instrumentation/grpc-js/grpc.js#L50
Delete `····`
lint (lts/*): lib/instrumentation/langchain/runnable.js#L191
Replace `·segment,·transaction,·messages,·events,·metadata,·tags,·err,·shim·` with `⏎··segment,⏎··transaction,⏎··messages,⏎··events,⏎··metadata,⏎··tags,⏎··err,⏎··shim⏎`
lint (lts/*): lib/instrumentation/langchain/vectorstore.js#L31
Replace `·request,·k,·output,·agent,·shim,·segment,·transaction,·pkgVersion,·err·` with `⏎··request,⏎··k,⏎··output,⏎··agent,⏎··shim,⏎··segment,⏎··transaction,⏎··pkgVersion,⏎··err⏎`
lint (lts/*): lib/instrumentation/langchain/vectorstore.js#L110
Replace `·request,·k,·output,·agent,·shim,·segment,·transaction,·pkgVersion,·err` with `⏎············request,⏎············k,⏎············output,⏎············agent,⏎············shim,⏎············segment,⏎············transaction,⏎············pkgVersion,⏎············err⏎·········`
lint (lts/*): lib/instrumentation/openai.js#L114
Replace `·agent,·shim,·segment,·request,·response,·err,·transaction·` with `⏎··agent,⏎··shim,⏎··segment,⏎··request,⏎··response,⏎··err,⏎··transaction⏎`
lint (lts/*): lib/shim/shim.js#L680
Replace `·segDesc.parent?.transaction?.isActive()·&&·segDesc.parent?.segment·?·segDesc.parent.segment·:·shim.getActiveSegment()·` with `⏎········segDesc.parent?.transaction?.isActive()·&&·segDesc.parent?.segment⏎··········?·segDesc.parent.segment⏎··········:·shim.getActiveSegment()`
lint (lts/*): lib/shim/shim.js#L960
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed
lint (lts/*): lib/shim/shim.js#L973
Delete `··`
lint (lts/*): lib/shim/shim.js#L978
Delete `·`
versioned-internal (20.x)
Process completed with exit code 4.
versioned-internal (22.x)
Process completed with exit code 4.
versioned-internal (18.x)
Process completed with exit code 4.
all-clear
Process completed with exit code 1.
lint (lts/*): api.js#L1551
The type 'getTraceMetadata' is undefined
lint (lts/*): api.js#L1905
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 🕐: 940.205ms
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: 4407 Suites 📂: 0 Passed ✅: 4388 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 64341.342ms
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: 4405 Suites 📂: 0 Passed ✅: 4383 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 63638.194ms
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: 4405 Suites 📂: 0 Passed ✅: 4383 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 70833.586ms
integration (20.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 443.237ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 138629.423ms
integration (18.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 576.810ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 130164.264ms
integration (22.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 478.515ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 168183.397ms

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
124 KB
integration-tests-esm-18.x
72.7 KB
integration-tests-esm-20.x
72.6 KB
integration-tests-esm-22.x
72.6 KB
logs-18.x.tgz
368 KB
logs-20.x.tgz
363 KB
logs-22.x.tgz
362 KB
unit-tests-18.x
160 KB
unit-tests-20.x
160 KB
unit-tests-22.x
160 KB