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

feat(sysinfo): Collect WSL info and Ubuntu Pro Attach State #36

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

hk21702
Copy link
Collaborator

@hk21702 hk21702 commented Mar 4, 2025

Adds support for collecting and reporting WSL information as well as the Ubuntu Pro Attach State

  • Ubuntu Pro Attach State
  • Linux in WSL
  • WSL Version
  • WSL Kernel Version
  • WSL interop state

Also silences warnings for items during collection that are not expected in WSL


UDENG-5834

@hk21702 hk21702 self-assigned this Mar 4, 2025
@codecov-commenter
Copy link

codecov-commenter commented Mar 4, 2025

Codecov Report

Attention: Patch coverage is 97.07317% with 6 lines in your changes missing coverage. Please review.

Project coverage is 85.93%. Comparing base (63856a9) to head (7be00f6).

Files with missing lines Patch % Lines
...ernal/collector/sysinfo/platform/platform_linux.go 95.27% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   84.86%   85.93%   +1.06%     
==========================================
  Files          27       31       +4     
  Lines        1771     1948     +177     
==========================================
+ Hits         1503     1674     +171     
- Misses        186      191       +5     
- Partials       82       83       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@hk21702 hk21702 requested a review from Sploder12 March 4, 2025 23:44
@hk21702 hk21702 marked this pull request as draft March 4, 2025 23:46
@hk21702 hk21702 force-pushed the UDENG-5834-ubuntu-insights-wsl-platform-controller branch from 0074d47 to 5f0ec6d Compare March 5, 2025 00:50
@hk21702 hk21702 force-pushed the UDENG-5834-ubuntu-insights-wsl-platform-controller branch from 5f0ec6d to 412386e Compare March 5, 2025 03:33
@hk21702 hk21702 force-pushed the UDENG-5834-ubuntu-insights-wsl-platform-controller branch from 8051d06 to 43779cb Compare March 5, 2025 19:06
@hk21702 hk21702 force-pushed the UDENG-5834-ubuntu-insights-wsl-platform-controller branch from e544400 to 7be00f6 Compare March 5, 2025 19:28
@hk21702 hk21702 marked this pull request as ready for review March 5, 2025 19:51
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