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

Add rolling has optional data enum value. Remove SarifLogger tool parameter. #2614

Merged
merged 9 commits into from
Feb 2, 2023

Conversation

michaelcfanning
Copy link
Member

No description provided.

@michaelcfanning michaelcfanning marked this pull request as ready for review February 1, 2023 00:47
@KalleOlaviNiemitalo
Copy link

The OptionallyEmittedData.RollingHashPartialFingerprints flag doesn't seem to be referenced anywhere yet. Is that postponed to a future PR or am I just not looking at the right place?

@michaelcfanning
Copy link
Member Author

That's correct, not yet wired up. The plan is to integrate this with the FileRegionsCache, following the same pattern as handling the new line indices in that type. We have a large-scale pipeline design change coming that might lead us to reconsider all hash production, though, which is why I delayed the work.


In reply to: 1412629616

return ComputeHashes(stream);
}
}
catch (IOException) { }

Check notice

Code scanning / CodeQL

Poor error handling: empty catch block

Poor error handling: empty catch block.
}
}
catch (IOException) { }
catch (UnauthorizedAccessException) { }

Check notice

Code scanning / CodeQL

Poor error handling: empty catch block

Poor error handling: empty catch block.
@michaelcfanning michaelcfanning merged commit b0dd775 into main Feb 2, 2023
@michaelcfanning michaelcfanning deleted the sarif-log-rolling-hash branch February 2, 2023 01:01
@michaelcfanning michaelcfanning restored the sarif-log-rolling-hash branch February 2, 2023 01:13
This was referenced Feb 21, 2023
@michaelcfanning michaelcfanning mentioned this pull request Feb 24, 2023
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.

None yet

2 participants