microsoft / onefuzz

A self-hosted Fuzzing-As-A-Service platform
MIT License
2.82k stars 199 forks source link

Update `repro get_files` to handle regression reports #3340

Closed kananb closed 1 year ago

kananb commented 1 year ago

Summary of the Pull Request

https://github.com/microsoft/onefuzz/issues/3338 onefuzz repro get_files only handles reports and not regression_reports.

PR Checklist

Info on Pull Request

Adds logic for checking that the fields expected in a normal report exist before falling back on fields expected from a regression report. An error is logged otherwise.

Validation Steps Performed

How does someone test & validate?

codecov-commenter commented 1 year ago

Codecov Report

Merging #3340 (e5adcdf) into main (62c3f07) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3340   +/-   ##
=======================================
  Coverage   31.83%   31.83%           
=======================================
  Files         307      307           
  Lines       37358    37358           
=======================================
  Hits        11894    11894           
  Misses      25464    25464