microsoft / onefuzz

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

Support custom ado fields that mark work items as duplicate #3467

Closed kananb closed 1 year ago

kananb commented 1 year ago

Summary of the Pull Request

Adds a new field to the ado config to specify work item fields that indicate a work item is marked as a duplicate.

PR Checklist

Info on Pull Request

What does this include?

Validation Steps Performed

Set a bug to "Completed" with the reason "Testing", and verified that it was reopened when a bug with the same title was filed again with an ado config that included "Sytem.Reason": "Testing" in the "ado_duplicate_fields" property.

codecov-commenter commented 1 year ago

Codecov Report

Merging #3467 (b3d604a) into main (7b40402) will decrease coverage by 0.01%. The diff coverage is 27.27%.

@@            Coverage Diff             @@
##             main    #3467      +/-   ##
==========================================
- Coverage   34.42%   34.42%   -0.01%     
==========================================
  Files         299      299              
  Lines       36253    36259       +6     
==========================================
+ Hits        12479    12481       +2     
- Misses      23774    23778       +4     
Files Changed Coverage Δ
...Service/ApiService/onefuzzlib/notifications/Ado.cs 24.61% <11.11%> (-0.06%) :arrow_down:
src/ApiService/ApiService/OneFuzzTypes/Model.cs 70.41% <100.00%> (+0.03%) :arrow_up: