-
Notifications
You must be signed in to change notification settings - Fork 384
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
Fix remote config handling for AppSec #4345
Conversation
Before we were not setting `apply_state` to ACKNOWLEDGED on remote config content.
Datadog ReportBranch report: ✅ 0 Failed, 22079 Passed, 1476 Skipped, 5m 22.35s Total Time |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4345 +/- ##
=======================================
Coverage 97.72% 97.73%
=======================================
Files 1368 1368
Lines 82998 83014 +16
Branches 4220 4221 +1
=======================================
+ Hits 81113 81133 +20
+ Misses 1885 1881 -4 ☔ View full report in Codecov by Sentry. |
BenchmarksBenchmark execution time: 2025-02-05 14:38:12 Comparing candidate commit d9bcea9 in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 30 metrics, 2 unstable metrics. scenario:line instrumentation - targeted
|
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.
I have doubts about marking content as applied without actual use of it before hand.
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.
LGTM 👏🏼
SYSTEM_TESTS_REF: 239c3eba6de0473817d3d88ebbc025c9d0c9574b | ||
# SYSTEM_TESTS_REF: main # This must always be set to `main` on dd-trace-rb's master branch | ||
# TODO: remove this change before merging to master | ||
SYSTEM_TESTS_REF: enable-ip-blocking-for-ruby |
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.
Was this supposed to be removed before merge?
Before we were not setting
apply_state
to ACKNOWLEDGED on remote config content, which caused some system tests to fail.What does this PR do?
This PR adds setting of
apply_state
on remote config content toACKNOWLEDGED
after successful processing.Motivation:
Failing system tests for full denylist blocking: DataDog/system-tests#3937
Change log entry
None, this is internal change. Changes via remote config were applied before too, it's just the status that wasn't set correctly.
Additional Notes:
None.
How to test the change?
CI should be enough.