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

MsWheaPkg: Add Rust Telemetry helper library #611

Open
wants to merge 6 commits into
base: dev/202405
Choose a base branch
from

Conversation

zurcher
Copy link

@zurcher zurcher commented Nov 25, 2024

Description

This adds a rust version of the existing MuTelemetryHelperLib

  • Impacts functionality?
  • Impacts security?
  • Breaking change?
  • Includes tests?
  • Includes documentation?
  • Backport to release branch?

How This Was Tested

Rust unit tests covering the correct propagation of data through the log_telemetry and report_status_code interfaces, as well as data struct size checks and a coverage check.

Integration Instructions

Parent driver must call init_telemetry once, and can then call log_telemetry as needed.

@github-actions github-actions bot added impact:non-functional Does not have a functional impact impact:testing Affects testing type:documentation Improvements or additions to documentation labels Nov 25, 2024
@codecov-commenter
Copy link

codecov-commenter commented Nov 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.59%. Comparing base (fce6aa0) to head (aadb972).

Additional details and impacted files
@@             Coverage Diff             @@
##           dev/202405     #611   +/-   ##
===========================================
  Coverage       11.59%   11.59%           
===========================================
  Files             132      132           
  Lines           21561    21561           
  Branches         2546     2546           
===========================================
  Hits             2499     2499           
  Misses          19028    19028           
  Partials           34       34           
Flag Coverage Δ
AdvLoggerPkg 6.07% <ø> (ø)
HidPkg 2.80% <ø> (ø)
MfciPkg 41.21% <ø> (ø)
MsCorePkg 1.44% <ø> (ø)
MsWheaPkg 7.25% <ø> (ø)
XmlSupportPkg 27.64% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@zurcher zurcher requested a review from os-d November 27, 2024 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:non-functional Does not have a functional impact impact:testing Affects testing type:documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants