Skip to content
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

basti/kn intervention #10042

Merged
merged 5 commits into from
Dec 6, 2024
Merged

basti/kn intervention #10042

merged 5 commits into from
Dec 6, 2024

Conversation

strseb
Copy link
Collaborator

@strseb strseb commented Nov 14, 2024

This Pr adds the most basic code needed to make sure we handle intels KN service.

For this i want to add a concept of "Interventions" as 3rdparty Software that interferes with us and therefore we intervene. Hopefully, this will be an empty folder.

For now let's add:
-> a detection for kn,
-> an API for the Extension to query detected interventions
-> Telemetry for kn, to make a rough case of how much we really should be focusing this on: should this just be a sumo article or do we really need to intervene.

@strseb strseb requested a review from mcleinman November 14, 2024 16:36
Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple small nits, but looks good.

Holding off on approval until we have an r+ from a data steward. Let me know if you want me to get that process going - would be happy to pitch in on that.

src/interventions/killernetwork.h Outdated Show resolved Hide resolved
Comment on lines 7 to 8
#include <qjsonarray.h>
#include <qjsonobject.h>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Aren't these already included on lines 11 and 13?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

truee, i have a new vscode addon that probably added that >:(

@strseb strseb force-pushed the basti/kn_intervention branch from bc6b8f1 to 9a997f2 Compare December 5, 2024 13:25
@strseb strseb requested review from mcleinman and removed request for travis79 December 5, 2024 13:26
@strseb
Copy link
Collaborator Author

strseb commented Dec 5, 2024

@mcleinman this is ready for review, i've pulled the telemetry from this pr and moving this to another

Copy link
Collaborator

@mcleinman mcleinman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@@ -33,6 +32,14 @@
# include "platforms/windows/windowsutils.h"
#endif

#if defined(MZ_LINUX) && !defined(MZ_FLATPAK)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks!

@strseb strseb merged commit 67cd6a6 into main Dec 6, 2024
120 checks passed
@strseb strseb deleted the basti/kn_intervention branch December 6, 2024 17:40
strseb added a commit that referenced this pull request Dec 10, 2024
* Add basic auto intervention

* Add query api for interventions

* Fixup

* Update src/interventions/killernetwork.h

Co-authored-by: MCleinman <[email protected]>

* Remove wrong things

---------

Co-authored-by: MCleinman <[email protected]>
@strseb strseb mentioned this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants