-
Notifications
You must be signed in to change notification settings - Fork 317
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
[ci-visibility] Fix appClosing telemetry event #4023
[ci-visibility] Fix appClosing telemetry event #4023
Conversation
Overall package sizeSelf size: 5.97 MB Dependency sizes
🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4023 +/- ##
===========================================
- Coverage 85.13% 75.10% -10.04%
===========================================
Files 242 237 -5
Lines 10464 10001 -463
Branches 33 33
===========================================
- Hits 8909 7511 -1398
- Misses 1555 2490 +935 ☔ View full report in Codecov by Sentry. |
BenchmarksBenchmark execution time: 2024-02-05 14:10:15 Comparing candidate commit c8665ce in PR branch Found 1 performance improvements and 0 performance regressions! Performance is the same for 258 metrics, 7 unstable metrics. scenario:plugin-graphql-with-depth-on-max-18
|
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.
little non-reg test ? to make sure it's still called when telemetry is enabled
added a test in 323e0fc |
now the test fails in a different way 😠. Only in CI too, locally there's no problem. I'll need to dig a bit more |
ok found the issue. It's unrelated to this PR. It was a regression I introduced in #4021. I merged the PR anyway, I probably thought the plugins were just flaking 😞 |
4dcdd80
to
a19ff08
Compare
Co-authored-by: simon-id <[email protected]>
What does this PR do?
appClosing
is called in cypress and playwright but it could be done when telemetry is disabled. By checking it first we make sure we don't attempt to create telemetry events when we shouldn't.Unrelated change: after #4021 the code owners logic change so now the plugin tests are getting the root CODEOWNERS. I've updated the plugin tests to reflect this.
Motivation
Fix cypress plugin errors.
Security
Datadog employees:
@DataDog/security-design-and-guidance
.Unsure? Have a question? Request a review!