test: Updated match
to fail if you pass in an object that lacks the…
#2154
ci-workflow.yml
on: push
should_run
6s
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
0s
Annotations
5 errors, 27 warnings, and 37 notices
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 (18.x)
The job was canceled because "_20_x" failed.
|
codecov (18.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)
The operation was canceled.
|
should_run
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci (lts/*)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
versioned-external (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
versioned-external (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
versioned-external (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (lts/*)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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#L211
'config' is already declared in the upper scope on line 159 column 16
|
lint (lts/*):
lib/agent.js#L222
'config' is already declared in the upper scope on line 159 column 16
|
lint (lts/*):
lib/agent.js#L232
'config' is already declared in the upper scope on line 159 column 16
|
lint (lts/*):
lib/agent.js#L243
'config' is already declared in the upper scope on line 159 column 16
|
unit (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
unit (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
integration (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
integration (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
integration (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
versioned-internal (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
versioned-internal (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
versioned-internal (18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
all-clear
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
codecov (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ci (lts/*)
Total Tests: 35
Suites 📂: 0
Passed ✅: 35
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 648.574ms
|
unit (20.x)
Total Tests: 4455
Suites 📂: 0
Passed ✅: 4433
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 49241.252ms
|
unit (22.x)
Total Tests: 4455
Suites 📂: 0
Passed ✅: 4433
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 47307.783ms
|
unit (18.x)
Total Tests: 4457
Suites 📂: 0
Passed ✅: 4438
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 19
Duration 🕐: 51798.230ms
|
integration (18.x)
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 451.738ms
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If a New Relic agent started a trace, and then a non-New
Relic tracer propagated the trace, then the traceparent span ID would
updated by the non-New Relic tracer, but not the span ID in the New
Relic tracestate entry
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the parent is a New Relic agent with span events disabled it SHOULD omit span
id from the tracestate. This verifies agents propagate Trace Context payloads when the
parent is a New Relic agent with span events disabled
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
the transaction must be marked sampled=true so a Span event is created
|
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the new relic payload's version is higher than 0, with extra new fields, all
the existing fields should be read and used, and the extra future fields should
be ignored.
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
outbound newrelic headers are built from w3c headers, ignoring inbound newrelic headers
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the traceparent header is present on an inbound request, conforming agents MUST
ignore any newrelic header. If the traceparent header is invalid, a new trace MUST
be started. The newrelic header MUST be used _only_ when traceparent is _missing_.
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Tests correct handling of newrelic headers
Agents may receive a traceId in upper-case, or shorter than 32 characters.
In this case, the traceId MUST be left-padded with zeros AND lower-cased
The outbound newrelic header, if configured, should include the traceId as-received.
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
With both spans and transaction events disabled, there will be no
events to verify intrinsics against. tracestate.span_id and
tracestate.transaction_id are not expected on outbound payloads.
|
integration (18.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Test a payload that originates from a serverless agent. The only
difference in the payload between a serverless and non-serverless agent
is the `appId` in the tracestate header will be 'Unknown'.
|
integration (22.x)
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 390.435ms
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If a New Relic agent started a trace, and then a non-New
Relic tracer propagated the trace, then the traceparent span ID would
updated by the non-New Relic tracer, but not the span ID in the New
Relic tracestate entry
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the parent is a New Relic agent with span events disabled it SHOULD omit span
id from the tracestate. This verifies agents propagate Trace Context payloads when the
parent is a New Relic agent with span events disabled
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
the transaction must be marked sampled=true so a Span event is created
|
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the new relic payload's version is higher than 0, with extra new fields, all
the existing fields should be read and used, and the extra future fields should
be ignored.
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
outbound newrelic headers are built from w3c headers, ignoring inbound newrelic headers
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the traceparent header is present on an inbound request, conforming agents MUST
ignore any newrelic header. If the traceparent header is invalid, a new trace MUST
be started. The newrelic header MUST be used _only_ when traceparent is _missing_.
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Tests correct handling of newrelic headers
Agents may receive a traceId in upper-case, or shorter than 32 characters.
In this case, the traceId MUST be left-padded with zeros AND lower-cased
The outbound newrelic header, if configured, should include the traceId as-received.
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
With both spans and transaction events disabled, there will be no
events to verify intrinsics against. tracestate.span_id and
tracestate.transaction_id are not expected on outbound payloads.
|
integration (22.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Test a payload that originates from a serverless agent. The only
difference in the payload between a serverless and non-serverless agent
is the `appId` in the tracestate header will be 'Unknown'.
|
integration (20.x)
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 404.917ms
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If a New Relic agent started a trace, and then a non-New
Relic tracer propagated the trace, then the traceparent span ID would
updated by the non-New Relic tracer, but not the span ID in the New
Relic tracestate entry
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the parent is a New Relic agent with span events disabled it SHOULD omit span
id from the tracestate. This verifies agents propagate Trace Context payloads when the
parent is a New Relic agent with span events disabled
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
the transaction must be marked sampled=true so a Span event is created
|
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the new relic payload's version is higher than 0, with extra new fields, all
the existing fields should be read and used, and the extra future fields should
be ignored.
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
outbound newrelic headers are built from w3c headers, ignoring inbound newrelic headers
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
If the traceparent header is present on an inbound request, conforming agents MUST
ignore any newrelic header. If the traceparent header is invalid, a new trace MUST
be started. The newrelic header MUST be used _only_ when traceparent is _missing_.
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Tests correct handling of newrelic headers
Agents may receive a traceId in upper-case, or shorter than 32 characters.
In this case, the traceId MUST be left-padded with zeros AND lower-cased
The outbound newrelic header, if configured, should include the traceId as-received.
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
With both spans and transaction events disabled, there will be no
events to verify intrinsics against. tracestate.span_id and
tracestate.transaction_id are not expected on outbound payloads.
|
integration (20.x):
test/integration/distributed-tracing/trace-context-cross-agent.test.js#L324
Test a payload that originates from a serverless agent. The only
difference in the payload between a serverless and non-serverless agent
is the `appId` in the tracestate header will be 'Unknown'.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
integration-tests-cjs-18.x
|
125 KB |
|
integration-tests-cjs-20.x
|
124 KB |
|
integration-tests-cjs-22.x
|
124 KB |
|
integration-tests-esm-18.x
|
73.2 KB |
|
integration-tests-esm-20.x
|
73.2 KB |
|
integration-tests-esm-22.x
|
73.2 KB |
|
unit-tests-18.x
|
162 KB |
|
unit-tests-20.x
|
162 KB |
|
unit-tests-22.x
|
162 KB |
|
versioned-tests-18.x
|
145 KB |
|
versioned-tests-20.x
|
145 KB |
|
versioned-tests-22.x
|
145 KB |
|