Skip to content

test(parametric): read Node.js startup config from JSON logs - #8645

Draft
BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-11-23-startup-json
Draft

BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-11-23-startup-json

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

The agent URL and OTEL_LOG_LEVEL=debug tests fail before they check the effective settings when Node.js writes its startup summary as JSON. The configuration is escaped inside message, but the tests try to parse the raw suffix.

The parser still accepts plain startup lines, so this can merge before DataDog/dd-trace-js#11203.

Structured startup logs put the configuration inside the message field.
The agent URL and debug tests pass the escaped text to json.loads and
fail before they check the effective settings. Keep accepting plain
startup lines so the tests still work with older tracers.

Refs: DataDog/dd-trace-js#10606
@github-actions

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

tests/test_the_test/test_nodejs_startup_config.py                       @DataDog/system-tests-reviewers
tests/parametric/conftest.py                                            @DataDog/system-tests-reviewers

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant