-
Notifications
You must be signed in to change notification settings - Fork 15
test(nodejs): reduce redundant weblog scenario coverage #7689
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,22 +2,70 @@ | |
|
|
||
| express4: | ||
| build_mode: local | ||
| categories: [dd_trace, dd_trace_graphql] | ||
| supported_scenarios: | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you get the approval from all impacted team? Another point, by using an inclusion list, it'll be easy to not activate a scenario by error, which is a QA issue. By using using |
||
| - DEFAULT | ||
| - GRAPHQL_APPSEC | ||
| - GRAPHQL_ERROR_TRACKING | ||
|
Comment on lines
+5
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When the Node.js Useful? React with 👍 / 👎.
Comment on lines
+5
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When Useful? React with 👍 / 👎.
Comment on lines
+5
to
+8
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The Useful? React with 👍 / 👎. |
||
| express4-typescript: | ||
| build_mode: local | ||
| categories: [dd_trace, dd_trace_graphql] | ||
| supported_scenarios: | ||
| - DEFAULT | ||
| - DEBUGGER_CAPTURE_TIMEOUT | ||
| - DEBUGGER_EXCEPTION_REPLAY | ||
| - DEBUGGER_EXPRESSION_LANGUAGE | ||
| - DEBUGGER_INPRODUCT_ENABLEMENT | ||
| - DEBUGGER_PII_REDACTION | ||
| - DEBUGGER_PROBES_SNAPSHOT | ||
| - DEBUGGER_PROBES_SNAPSHOT_WITH_SCM | ||
| - DEBUGGER_SYMDB | ||
| - DEBUGGER_TELEMETRY | ||
| - IAST_DEDUPLICATION | ||
| - IAST_STANDALONE | ||
| express5: | ||
| build_mode: local | ||
| categories: [dd_trace, dd_trace_graphql] | ||
| categories: [dd_trace] | ||
| fastify: | ||
| build_mode: local | ||
| categories: [dd_trace] | ||
| supported_scenarios: &framework_scenarios | ||
| - DEFAULT | ||
|
Comment on lines
+29
to
+30
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When the Node.js Useful? React with 👍 / 👎. |
||
| - APPSEC_API_SECURITY | ||
| - APPSEC_API_SECURITY_NO_RESPONSE_BODY | ||
| - APPSEC_API_SECURITY_RC | ||
| - APPSEC_API_SECURITY_WITH_SAMPLING | ||
| - APPSEC_APM_STANDALONE | ||
| - APPSEC_ATO_SDK | ||
| - APPSEC_AUTO_EVENTS_EXTENDED | ||
| - APPSEC_AUTO_EVENTS_RC | ||
| - APPSEC_BLOCKING | ||
| - APPSEC_BLOCKING_FULL_DENYLIST | ||
| - APPSEC_LOW_WAF_TIMEOUT | ||
| - APPSEC_RASP | ||
| - APPSEC_RASP_NON_BLOCKING | ||
| - APPSEC_RASP_WITHOUT_DOWNSTREAM_BODY_ANALYSIS_USING_MAX | ||
| - APPSEC_RASP_WITHOUT_DOWNSTREAM_BODY_ANALYSIS_USING_SAMPLE_RATE | ||
| - APPSEC_RATE_LIMITER | ||
| - APPSEC_RUNTIME_ACTIVATION | ||
| - APPSEC_STANDALONE | ||
| - APPSEC_STANDALONE_API_SECURITY | ||
| - APPSEC_STANDALONE_APM_STANDALONE | ||
| - APPSEC_STANDALONE_RASP | ||
| - IAST_DEDUPLICATION | ||
| - IAST_STANDALONE | ||
| nextjs: | ||
| build_mode: local | ||
| categories: [dd_trace] | ||
| supported_scenarios: *framework_scenarios | ||
| uds-express4: | ||
| build_mode: local | ||
| categories: [dd_trace, dd_trace_graphql] | ||
| supported_scenarios: | ||
| - DEFAULT | ||
| - AGENT_NOT_SUPPORTING_SPAN_EVENTS | ||
| - AGENT_SUPPORTING_SPAN_EVENTS | ||
| - TELEMETRY_APP_STARTED_PRODUCTS_DISABLED | ||
| - TELEMETRY_DEPENDENCY_LOADED_TEST_FOR_DEPENDENCY_COLLECTION_DISABLED | ||
| - TELEMETRY_ENHANCED_CONFIG_REPORTING | ||
| - TELEMETRY_EXTENDED_HEARTBEAT | ||
| - TELEMETRY_LOG_GENERATION_DISABLED | ||
| - TELEMETRY_METRIC_GENERATION_DISABLED | ||
| excluded_scenarios: [IPV6] | ||
| openai-js: | ||
| build_mode: none | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a future Node.js Dockerfile is added without explicit metadata,
WeblogMetaData.load()synthesizes an entry with no categories or supported scenarios, sotest_all_weblog_has_metadatastill sees its name and passes even though the orchestrator silently removes it from every job. The repository documentation identifies this legacy parity test as the guard against exactly that failure, but this blanket branch disables it for all current and future Node.js weblogs; narrow the exception to the intentional matrix differences or add an explicit nonempty-selection assertion instead. .cursor/rules/pr-review.mdcL14-L18Useful? React with 👍 / 👎.