-
Notifications
You must be signed in to change notification settings - Fork 375
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
[APPSEC-55936] Remove Reactive::Operation #4138
base: master
Are you sure you want to change the base?
Conversation
2ff17b8
to
332b8fc
Compare
332b8fc
to
d79b926
Compare
BenchmarksBenchmark execution time: 2024-11-21 14:00:16 Comparing candidate commit dfe942e in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 31 metrics, 2 unstable metrics. |
d79b926
to
5b9ee8b
Compare
5b9ee8b
to
667938d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #4138 +/- ##
=======================================
Coverage 97.78% 97.78%
=======================================
Files 1350 1348 -2
Lines 81322 81232 -90
Branches 4107 4104 -3
=======================================
- Hits 79522 79434 -88
+ Misses 1800 1798 -2 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
667938d
to
dfe942e
Compare
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 just have one non-blocking suggestion, other than that LGTM!
|
||
def self.publish: (Datadog::AppSec::Reactive::Operation op, Datadog::AppSec::Contrib::GraphQL::Gateway::Multiplex gateway_multiplex) -> boolish | ||
def self.publish: (AppSec::Reactive::Engine op, AppSec::Contrib::GraphQL::Gateway::Multiplex gateway_multiplex) -> boolish |
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.
Should we keep the variable name for AppSec::Reactive::Engine to op
(including in the lib folder for the corresponding methods) or rename it to engine
?
What does this PR do?
Remove
Reactive::Operation
class as irresponsible proxy.Motivation:
After analysis we decide to move forward without existing reactivity and gateway. Decision made based on the fact that implementation is not finished and subpar on complexity and potentially performance compared to benefits it gives us right now.
Change log entry
No.
Additional Notes:
This is a first step in the direction of simplification of the AppSec instrumentation. To gain some speed we need to trim the deadweight.
How to test the change?
CI is enough.