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(nvidia/xid): use common events DB for NVML-based xid watcher, disable NVML Xid event watcher in favor of "dmesg" watcher, deprecate redundant "error-xid-sxid" component #343

Merged
merged 7 commits into from
Feb 5, 2025

Conversation

gyuho
Copy link
Collaborator

@gyuho gyuho commented Jan 28, 2025

  • use common events DB for NVML-based xid watcher
  • disable NVML Xid event watcher in favor of "dmesg" watcher
  • deprecate redundant "error-xid-sxid" component

c.f., #336

Copy link

codecov bot commented Jan 28, 2025

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 22.68%. Comparing base (d96906e) to head (cf9b19b).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
internal/server/server.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #343      +/-   ##
==========================================
- Coverage   22.94%   22.68%   -0.27%     
==========================================
  Files         296      291       -5     
  Lines       26851    26161     -690     
==========================================
- Hits         6161     5934     -227     
+ Misses      20062    19614     -448     
+ Partials      628      613      -15     

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

@xiang90
Copy link
Contributor

xiang90 commented Jan 29, 2025

Can we add tests?

@gyuho gyuho added the wip - do not merge working in progress label Jan 29, 2025
@gyuho gyuho changed the base branch from simplify-nvml-initialization to main February 3, 2025 15:55
@gyuho gyuho force-pushed the xid-nvml-with-common-pkg branch from 604dba8 to d253b2d Compare February 3, 2025 15:55
@gyuho gyuho removed the wip - do not merge working in progress label Feb 3, 2025
@gyuho gyuho force-pushed the xid-nvml-with-common-pkg branch from d253b2d to 5c59d46 Compare February 4, 2025 08:50
@gyuho gyuho added the wip - do not merge working in progress label Feb 4, 2025
@gyuho gyuho changed the title feat(nvidia/xid): use common db pkg for nvml xid events feat(nvidia/xid): use common events DB for NVML-based xid watcher, disable NVML Xid event watcher in favor of "dmesg" watcher, deprecate redundant "error-xid-sxid" component Feb 4, 2025
@gyuho gyuho removed the wip - do not merge working in progress label Feb 4, 2025
@gyuho gyuho force-pushed the xid-nvml-with-common-pkg branch from 3b01803 to 94b01db Compare February 4, 2025 23:33
Copy link
Collaborator

@cardyok cardyok left a comment

Choose a reason for hiding this comment

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

lgtm after patch ci green, project ci red seems bc deleted several high test coverage files

@gyuho gyuho force-pushed the xid-nvml-with-common-pkg branch from 49dea12 to 16f01ff Compare February 5, 2025 08:29
Signed-off-by: Gyuho Lee <[email protected]>
@gyuho gyuho merged commit 5d1d369 into main Feb 5, 2025
4 of 6 checks passed
@gyuho gyuho deleted the xid-nvml-with-common-pkg branch February 5, 2025 12:44
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.

3 participants