Skip to content

Handle file contents/checksum only when generating a report#1209

Merged
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:move-file-contents-checksum
Nov 10, 2025
Merged

Handle file contents/checksum only when generating a report#1209
egibs merged 2 commits into
chainguard-dev:mainfrom
egibs:move-file-contents-checksum

Conversation

@egibs

@egibs egibs commented Nov 10, 2025

Copy link
Copy Markdown
Member

This PR updates the retrieval of a file's contents and the calculation of its checksum to only occur if we're going to generate a report. Otherwise, we're wasting resources on files that won't be displayed as part of the final results.

@stevebeattie stevebeattie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks!

@egibs egibs merged commit 6301085 into chainguard-dev:main Nov 10, 2025
14 checks passed
@egibs egibs deleted the move-file-contents-checksum branch November 11, 2025 13:36
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.

2 participants