Skip to content

Commit 2667b76

Browse files
christophe-papazianclaude
authored andcommitted
test(config): assert DD_APPSEC_AGENTIC_ONBOARDING in v5 appsec config (#9489)
The v5-only "should give priority to non-experimental options" test does a strict deepStrictEqual on config.appsec. PR #9486 added DD_APPSEC_AGENTIC_ONBOARDING as a namespace:"appsec" entry (default ""), which populates config.appsec for all majors, but that test was gated on DD_MAJOR < 6 and therefore skipped in master (v6/v7) CI. It only runs in the v5 release pipeline, where the missing key broke the assertion. Add the always-present key to the expected object. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent ed4b5d9 commit 2667b76

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/dd-trace/test/config/index.spec.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2804,6 +2804,7 @@ describe('Config', () => {
28042804
},
28052805
rateLimit: 42,
28062806
rules: RULES_JSON_PATH,
2807+
DD_APPSEC_AGENTIC_ONBOARDING: '',
28072808
DD_APPSEC_SCA_ENABLED: undefined,
28082809
stackTrace: {
28092810
enabled: true,

0 commit comments

Comments
 (0)