Skip to content

Clean up temp sarif file after validation in CI builds#53731

Merged
jeffhandley merged 2 commits intodotnet:mainfrom
MichaelSimons:fix/cleanup-temp-sarif
Apr 9, 2026
Merged

Clean up temp sarif file after validation in CI builds#53731
jeffhandley merged 2 commits intodotnet:mainfrom
MichaelSimons:fix/cleanup-temp-sarif

Conversation

@MichaelSimons
Copy link
Copy Markdown
Member

Delete the temp-*.sarif file written to the source directory after validation completes. The file is only needed transiently for comparison and serves no purpose afterward.

Fixes #53729

Copilot AI review requested due to automatic review settings April 7, 2026 14:52
@MichaelSimons MichaelSimons requested a review from a team as a code owner April 7, 2026 14:52
Copy link
Copy Markdown
Contributor

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

Deletes the transient temp-*.sarif file produced during validateOnly (CI) runs of GenerateDocumentationAndConfigFiles so the source tree isn’t left with an untracked build artifact.

Changes:

  • Delete the generated temp SARIF file immediately after validation completes in validateOnly mode.

Delete the temp-*.sarif file written to the source directory after
validation completes. The file is only needed transiently for
comparison and serves no purpose afterward.

Fixes dotnet#53729
Copy link
Copy Markdown
Contributor

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@MichaelSimons MichaelSimons requested a review from krwq April 8, 2026 13:17
Copy link
Copy Markdown
Member

@jeffhandley jeffhandley left a comment

Choose a reason for hiding this comment

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

@krwq and I looked at this together. Looks good; thanks!

@jeffhandley jeffhandley merged commit 3b4dac5 into dotnet:main Apr 9, 2026
24 checks passed
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.

GenerateDocumentationAndConfigFiles leaves temp-*.sarif file in source directory during CI builds

3 participants