8000 Exclude upstream files from Emscripten and code coverage by marcpopMSFT · Pull Request #49186 · dotnet/sdk · GitHub
[go: up one dir, main page]

Skip to content

Exclude upstream files from Emscripten and code coverage #49186

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marcpopMSFT
Copy link
Member

No description provided.

@Copilot Copilot AI review requested due to automatic review settings May 28, 2025 20:22
Copy link
Contributor
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

A PR to exclude specific upstream files related to Emscripten and code coverage from analysis by updating the analyzeTargetGlob patterns.

  • Updated exclusion patterns in the SDK build pipeline YAML file.
  • Added patterns to exclude files from Microsoft.NET.Runtime.Emscripten tools and CodeCoverage directories.
Comments suppressed due to low confidence (1)

eng/pipelines/templates/jobs/sdk-build.yml:61

  • Ensure that the updated exclusion patterns do not inadvertently exclude intended files, and consider adding a comment to clarify the rationale for these exclusions.
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:f|artifacts\bin\*Tests\**;-f:|**\Microsoft.NET.Runtime.Emscripten**\tools\**.exe;-f:|**\CodeCoverage\**\*.*;

@@ -58,7 +58,7 @@ jobs:
templateContext:
sdl:
binskim:
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:f|artifacts\bin\*Tests\**;
analyzeTargetGlob: +:f|eng\**\*.props;+:f|artifacts\bin\**\*.dll;+:f|artifacts\bin\**\*.exe;-:f|artifacts\bin\**\msdia140.dll;-:f|artifacts\bin\**\pgort140.dll;-:f|artifacts\bin\*Tests\**;-f:|**\Microsoft.NET.Runtime.Emscripten**\tools\**.exe;-f:|**\CodeCoverage\**\*.*;
Copy link
Contributor

Choose a reason for hiding this comment

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

@marcpopMSFT which syntax is the correct one? This line has both -f:| and -:f|

Copy link
Contributor

Choose a reason for hiding this comment

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

I only see -:f in the previous version unless you meant a different line?

Copy link
Contributor

Choose a reason for hiding this comment

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

Previous line contains -:f, the new line contains -f:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0