You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(ci-visibility): make ITR enable properly in EVP mode [backport #6678 to 1.17] (#6717)
Backport 54f2493 from #6684 to 1.17.
Fixes an issue where ITR would not enable properly in EVP mode, due to a
missing `X-Datadog-NeedsAppKey` header. This would cause requests to the
endpoints that check for feature enablement to fail with "403 Forbidden"
errors, disabling ITR entirely for the rest of the run.
This PR also updates a couple of places to use constants rather than
string literals for `dd-api-key` and `dd-app-key` headers in agentless
mode.
This was tested using both agentless and EVP modes, verifying both that
ITR was skipping tests properly, and that subsequent modifications which
altered files would properly cause tests to run, and coverage events to
be uploaded.
Fixes CIAPP-7443 .
## Checklist
- [x] Change(s) are motivated and described in the PR description.
- [x] Testing strategy is described if automated tests are not included
in the PR.
- [x] Risk is outlined (performance impact, potential for breakage,
maintainability, etc).
- [x] Change is maintainable (easy to change, telemetry, documentation).
- [x] [Library release note
guidelines](https://ddtrace.readthedocs.io/en/stable/releasenotes.html)
are followed. If no release note is required, add label
`changelog/no-changelog`.
- [x] Documentation is included (in-code, generated user docs, [public
corp docs](https://github.com/DataDog/documentation/)).
- [x] Backport labels are set (if
[applicable](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting))
## Reviewer Checklist
- [x] Title is accurate.
- [x] No unnecessary changes are introduced.
- [x] Description motivates each change.
- [x] Avoids breaking
[API](https://ddtrace.readthedocs.io/en/stable/versioning.html#interfaces)
changes unless absolutely necessary.
- [x] Testing strategy adequately addresses listed risk(s).
- [x] Change is maintainable (easy to change, telemetry, documentation).
- [x] Release note makes sense to a user of the library.
- [x] Reviewer has explicitly acknowledged and discussed the performance
implications of this PR as reported in the benchmarks PR comment.
- [x] Backport labels are set in a manner that is consistent with the
[release branch maintenance
policy](https://ddtrace.readthedocs.io/en/latest/contributing.html#backporting)
0 commit comments