osv.dev icon indicating copy to clipboard operation
osv.dev copied to clipboard

fix(vulnfeeds): deduplicate commit hashes on AffectedCommits

Open jess-lowe opened this issue 6 months ago • 0 comments

fixes #3523

  • added deduplication logic when duplicate commit hashes are found.
  • Added a testcase to test VersionInfo end-to-end to ensure no duplicate hashes.
  • Also added a series of unit tests to test deduplication logic

There's probably a less convoluted way to do it, so would appreciate input.

jess-lowe avatar Jun 20 '25 18:06 jess-lowe