fix: Updated shim.createSegment
and shim.handleMqTracingHeaders
t…
#2156
ci-workflow.yml
on: push
should_run
5s
Matrix: integration
Matrix: unit
Matrix: versioned-internal
Matrix: ci
Matrix: lint
Matrix: versioned-external
Matrix: codecov
all-clear
0s
Annotations
4 errors, 28 warnings, and 37 notices
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)
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/e28ff129e5465c2c0dcc6f003fc735cb6ae0c673/dist/codecov' failed with exit code 1
|
codecov (20.x)
The job was canceled because "_22_x" failed.
|
codecov (20.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
|
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#L1567
The type 'getTraceMetadata' is undefined
|
lint (lts/*):
api.js#L1921
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
|
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
|
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
|
unit (20.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 (20.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
|
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 (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
codecov (18.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 🕐: 642.690ms
|
unit (22.x)
Total Tests: 4479
Suites 📂: 0
Passed ✅: 4457
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 47938.706ms
|
unit (18.x)
Total Tests: 4481
Suites 📂: 0
Passed ✅: 4462
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 19
Duration 🕐: 50409.402ms
|
unit (20.x)
Total Tests: 4479
Suites 📂: 0
Passed ✅: 4457
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 3
Todo 📝: 19
Duration 🕐: 49611.989ms
|
integration (18.x)
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 443.763ms
|
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 (20.x)
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 403.649ms
|
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'.
|
integration (22.x)
Total Tests: 1
Suites 📂: 0
Passed ✅: 1
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 387.051ms
|
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'.
|
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
|
73.8 KB |
|
integration-tests-esm-20.x
|
73.8 KB |
|
integration-tests-esm-22.x
|
73.8 KB |
|
unit-tests-18.x
|
164 KB |
|
unit-tests-20.x
|
164 KB |
|
unit-tests-22.x
|
164 KB |
|
versioned-tests-18.x
|
147 KB |
|
versioned-tests-20.x
|
147 KB |
|
versioned-tests-22.x
|
146 KB |
|