Skip to content

wip: updated shim/tracer to get transaction from context, this is sti… #2016

wip: updated shim/tracer to get transaction from context, this is sti…

wip: updated shim/tracer to get transaction from context, this is sti… #2016

Triggered via push October 10, 2024 18:50
Status Failure
Total duration 11m 25s
Artifacts 12

ci-workflow.yml

on: push
should_run
10s
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

16 errors, 10 warnings, and 16 notices
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 `·`
lint (lts/*): test/unit/shim/shim.test.js#L2231
Multiple spaces found before '2'
lint (lts/*)
Process completed with exit code 1.
all-clear
Process completed with exit code 1.
codecov (20.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/e28ff129e5465c2c0dcc6f003fc735cb6ae0c673/dist/codecov' failed with exit code 1
codecov (22.x)
The job was canceled because "_20_x" failed.
codecov (22.x)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/e28ff129e5465c2c0dcc6f003fc735cb6ae0c673/dist/codecov' failed with exit code 1
codecov (18.x)
The job was canceled because "_20_x" failed.
codecov (18.x)
The operation was canceled.
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 🕐: 915.244ms
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 🕐: 64942.303ms
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): 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)
Total Tests: 4407 Suites 📂: 0 Passed ✅: 4388 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 19 Duration 🕐: 67339.535ms
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 🕐: 71998.007ms
integration (20.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 450.266ms
integration (20.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 138418.020ms
integration (18.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 583.794ms
integration (18.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 135383.074ms
integration (22.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 495.014ms
integration (22.x)
Total Tests: 66 Suites 📂: 0 Passed ✅: 66 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 178335.476ms

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.8 KB
integration-tests-esm-20.x
72.7 KB
integration-tests-esm-22.x
72.7 KB
unit-tests-18.x
160 KB
unit-tests-20.x
160 KB
unit-tests-22.x
160 KB
versioned-tests-18.x
142 KB
versioned-tests-20.x
143 KB
versioned-tests-22.x
142 KB