Commit 628e89f
test(ci): fix test cases in main.rs to better trigger Copilot PII detection [SVLS-8660]
- In extension_loop_active: log r.extension_id explicitly (from
Lambda-Extension-Identifier response header) instead of the whole
RegisterResponse struct, matching the intended test case in the PR
description
- In start_trace_agent: log trace_flusher.api_key_factory (a type that
embeds the Datadog API key) instead of config, so the test case
clearly exercises the "struct containing credentials" rule
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 8713027 commit 628e89f
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
297 | | - | |
| 297 | + | |
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| |||
1129 | 1129 | | |
1130 | 1130 | | |
1131 | 1131 | | |
1132 | | - | |
| 1132 | + | |
1133 | 1133 | | |
1134 | 1134 | | |
1135 | 1135 | | |
| |||
0 commit comments