Skip to content

Fix optional chaining in tool.js #1289

Fix optional chaining in tool.js

Fix optional chaining in tool.js #1289

Triggered via push February 12, 2026 18:37
Status Failure
Total duration 17m 25s
Artifacts 10

ci-workflow.yml

on: push
should_run
6s
should_run
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
2s
all-clear
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 9 notices
integration (22.x)
Process completed with exit code 1.
inbound_decisions_do_not_influence_non_adaptive_samplers: test/integration/samplers/sampling-rates.test.js#L98
AssertionError [ERR_ASSERTION]: should sample partial with variance, actual 1, expected: 0, lowerBound: 0, upperBound: 0 at assertRange (/home/runner/work/node-newrelic/node-newrelic/test/integration/samplers/sampling-rates.test.js:98:10) at TestContext.<anonymous> (/home/runner/work/node-newrelic/node-newrelic/test/integration/samplers/sampling-rates.test.js:85:7) at Test.runInAsyncScope (node:async_hooks:214:14) at Test.run (node:internal/test_runner/test:1047:25) at Test.processPendingSubtests (node:internal/test_runner/test:744:18) at Test.postRun (node:internal/test_runner/test:1173:19) at Test.run (node:internal/test_runner/test:1101:12) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Test.processPendingSubtests (node:internal/test_runner/test:744:7) { generatedMessage: false, code: 'ERR_ASSERTION', actual: false, expected: true, operator: '==', diff: 'simple' }
all-clear
Process completed with exit code 1.
ci (lts/*)
Total Tests: 36 Suites 📂: 0 Passed ✅: 36 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 549.096ms
integration (24.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 505.937ms
integration (24.x)
Total Tests: 791 Suites 📂: 0 Passed ✅: 787 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 51139.138ms
unit (22.x)
Total Tests: 5059 Suites 📂: 18 Passed ✅: 5038 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 2 Todo 📝: 19 Duration 🕐: 74627.004ms
unit (24.x)
Total Tests: 5059 Suites 📂: 18 Passed ✅: 5038 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 2 Todo 📝: 19 Duration 🕐: 71765.924ms
unit (20.x)
Total Tests: 5056 Suites 📂: 18 Passed ✅: 5034 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 3 Todo 📝: 19 Duration 🕐: 82924.225ms
integration (22.x)
Total Tests: 791 Suites 📂: 0 Passed ✅: 786 Failed ❌: 1 Canceled 🚫: 0 Skipped ⏭️: 4 Todo 📝: 0 Duration 🕐: 135854.732ms
integration (20.x)
Total Tests: 1 Suites 📂: 0 Passed ✅: 1 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 0 Todo 📝: 0 Duration 🕐: 575.284ms
integration (20.x)
Total Tests: 791 Suites 📂: 0 Passed ✅: 786 Failed ❌: 0 Canceled 🚫: 0 Skipped ⏭️: 5 Todo 📝: 0 Duration 🕐: 129053.535ms

Artifacts

Produced during runtime
Name Size Digest
integration-tests-cjs-20.x
153 KB
sha256:5c074c79ba530a6e4ad795e211783568a0a26057c8fa0cca57e5b83dec532ebc
integration-tests-cjs-24.x
153 KB
sha256:813491b0a922c175287ce06cb5b71b0397ecaa4928b6b0146c104b22fd713f23
integration-tests-esm-20.x
89.2 KB
sha256:ae7451b97959a310448f0941a79bda58d44441aa1a51c15b3fea1214eb9f5121
integration-tests-esm-24.x
90 KB
sha256:f64459b1befea478f5500029f82dc0c8d507eb2a209a7464e7049ce77c786b65
unit-tests-20.x
199 KB
sha256:78cbace84a39e8bf84e2b8472025a72d4a8805e063dd5e681514e2479acf505a
unit-tests-22.x
198 KB
sha256:f18ac04ec2aabfca59c74dd0db393eed3ed3792cb941d602d121374cda87d5ac
unit-tests-24.x
198 KB
sha256:9fff19bd23828d19148703ddc08a6dd1f7ecb480d3c48b97f1dc91fb48708261
versioned-tests-20.x
180 KB
sha256:4382136a3852bfedc62544327b63aaee92352073a428eab20554782f040a9936
versioned-tests-22.x
180 KB
sha256:eaa38415b4439fc870ca168b31bbfc214f9d93034ca680d6fdf1e8ff8be026f0
versioned-tests-24.x
178 KB
sha256:ecb405da4830bccb7a70b8f2426afb0af1126e1874f93dad991b20b03769b1a8