Skip to content

Conversation

@apop5
Copy link
Collaborator

@apop5 apop5 commented Mar 12, 2025

Description

Add a post build plugin that will parse the build report and run evaluation queries over it.

Infrastructure allows for platforms to register additional queries, either under the existing categories or creating their own.

See BuildReportEvaluationReadMe.md for more details.

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

How This Was Tested

Ran on virtual platforms builds with scope enabled.
Ran on physical platform build with scope enabled.

Integration Instructions

Add platform-checks scope.
Ensure that BUILDREPORT_FILE is enabled and configured.

@apop5 apop5 requested review from Javagedes and makubacki March 12, 2025 00:05
@github-actions github-actions bot added the impact:non-functional Does not have a functional impact label Mar 12, 2025
@codecov-commenter
Copy link

codecov-commenter commented Mar 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (dev/202502@c8756ff). Learn more about missing BASE report.

Additional details and impacted files
@@              Coverage Diff              @@
##             dev/202502    #1297   +/-   ##
=============================================
  Coverage              ?    1.58%           
=============================================
  Files                 ?     1408           
  Lines                 ?   364722           
  Branches              ?     4570           
=============================================
  Hits                  ?     5799           
  Misses                ?   358850           
  Partials              ?       73           
Flag Coverage Δ
MdeModulePkg 0.64% <ø> (?)
MdePkg 5.54% <ø> (?)
NetworkPkg 0.55% <ø> (?)
PolicyServicePkg 30.42% <ø> (?)
UefiCpuPkg 4.86% <ø> (?)

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.

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

@apop5 apop5 force-pushed the personal/apop5/buildreportevaluation branch from da22055 to e7a6d53 Compare April 25, 2025 18:39
@apop5 apop5 force-pushed the personal/apop5/buildreportevaluation branch from e7a6d53 to 8039ec5 Compare April 27, 2025 23:25
@apop5 apop5 force-pushed the personal/apop5/buildreportevaluation branch from 8039ec5 to a15e38e Compare April 28, 2025 19:37
Build Report Evaluation allows platforms to opt into running queries
over the generated BuildReport. The default queries attempt to find
common misconfigured options, such as supporting Universal Graphics
Adapters (UGA), supporting LegacyUsb, including the Efi Byte Code
interperter (EbcDxe) or modules included in a Fv that do not
contain a StackCheckLib instance.
@apop5 apop5 force-pushed the personal/apop5/buildreportevaluation branch from a15e38e to aff9260 Compare April 28, 2025 20:12
@apop5 apop5 merged commit 09b82f2 into microsoft:dev/202502 Apr 28, 2025
31 checks passed
apop5 added a commit to apop5/mu_basecore that referenced this pull request Apr 29, 2025
## Description

Add a post build plugin that will parse the build report and run
evaluation queries over it.

Infrastructure allows for platforms to register additional queries,
either under the existing categories or creating their own.

See BuildReportEvaluationReadMe.md for more details.


- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
- [ ] Backport to release branch?

## How This Was Tested
Ran on virtual platforms builds with scope enabled. 
Ran on physical platform build with scope enabled. 

## Integration Instructions
Add platform-checks scope.
Ensure that BUILDREPORT_FILE is enabled and configured.
apop5 added a commit that referenced this pull request Apr 29, 2025
## Description

Add a post build plugin that will parse the build report and run
evaluation queries over it.

Infrastructure allows for platforms to register additional queries,
either under the existing categories or creating their own.

See BuildReportEvaluationReadMe.md for more details.


- [ ] Impacts functionality?
- [ ] Impacts security?
- [ ] Breaking change?
- [ ] Includes tests?
- [ ] Includes documentation?
- [ ] Backport to release branch?

## How This Was Tested
Ran on virtual platforms builds with scope enabled. 
Ran on physical platform build with scope enabled. 

## Integration Instructions
Add platform-checks scope.
Ensure that BUILDREPORT_FILE is enabled and configured.
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants