Skip to content

[appsec] accept normalized or raw config name for agentic onboarding telemetry#7337

Merged
christophe-papazian merged 2 commits into
mainfrom
christophe-papazian/agentic-onboarding-telemetry-config-name
Jul 20, 2026
Merged

[appsec] accept normalized or raw config name for agentic onboarding telemetry#7337
christophe-papazian merged 2 commits into
mainfrom
christophe-papazian/agentic-onboarding-telemetry-config-name

Conversation

@christophe-papazian

@christophe-papazian christophe-papazian commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

APPSEC-69171

Follow-up to #7320. Telemetry config entries are reported under either the raw name (appsec.agentic_onboarding) or the normalized env-var form (DD_APPSEC_AGENTIC_ONBOARDING, e.g. Java), depending on the tracer — so the test now accepts either, matching the convention used elsewhere (e.g. ["DD_APPSEC_ENABLED", "appsec.enabled"]).

Also drops the incorrect "raw key must not be reported" assertions: the two names are just the raw and normalized forms of the same config, not a forbidden separate entry.

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

CODEOWNERS have been resolved as:

manifests/python.yml                                                    @DataDog/apm-python @DataDog/asm-python
tests/appsec/test_agentic_onboarding.py                                 @DataDog/asm-libraries @DataDog/system-tests-core

@christophe-papazian
christophe-papazian force-pushed the christophe-papazian/agentic-onboarding-telemetry-config-name branch from 76dfb83 to a1488c0 Compare July 17, 2026 14:44
@datadog-datadog-prod-us1

datadog-datadog-prod-us1 Bot commented Jul 17, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 5747fae | Docs | Datadog PR Page | Give us feedback!

@christophe-papazian
christophe-papazian marked this pull request as ready for review July 17, 2026 15:41
@christophe-papazian
christophe-papazian requested review from a team as code owners July 17, 2026 15:41

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a1488c0b37

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread tests/appsec/test_agentic_onboarding.py
christophe-papazian and others added 2 commits July 20, 2026 15:19
…telemetry

Some tracers report telemetry configuration entries under the raw dotted name
(appsec.agentic_onboarding) while others (e.g. Java) normalize it to the env-var
form (DD_APPSEC_AGENTIC_ONBOARDING, uppercased with dots -> underscores). Accept
either, matching the convention used by other telemetry tests (e.g.
["DD_APPSEC_ENABLED", "appsec.enabled"]).

Also drops the incorrect "raw key must not be reported" assertions from #7320:
the two names are just the raw and normalized forms of the same config, not a
forbidden separate entry. Presence-only refers to the env-var's value never
being read, not to a second telemetry entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The agentic-onboarding feature is being reworked. Set python to
missing_feature to disable the tests everywhere (all other tracers were
already missing_feature).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@christophe-papazian
christophe-papazian force-pushed the christophe-papazian/agentic-onboarding-telemetry-config-name branch from a1488c0 to 5747fae Compare July 20, 2026 13:19
@christophe-papazian
christophe-papazian requested review from a team as code owners July 20, 2026 13:19
@christophe-papazian
christophe-papazian requested review from ZStriker19 and mabdinur and removed request for a team July 20, 2026 13:19
@christophe-papazian
christophe-papazian enabled auto-merge (squash) July 20, 2026 13:19
@christophe-papazian
christophe-papazian merged commit f997ed9 into main Jul 20, 2026
418 checks passed
@christophe-papazian
christophe-papazian deleted the christophe-papazian/agentic-onboarding-telemetry-config-name branch July 20, 2026 13:40
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.

2 participants