microsoft / onefuzz

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

Differentiate INVALID_JOB and INVALID_TASK error codes #3318

Closed kananb closed 1 year ago

kananb commented 1 year ago

Summary of the Pull Request

Differentiate between INVALID_JOB and INVALID_TASK error codes so that the CLI doesn't always assume INVALID_TASK. https://github.com/microsoft/onefuzz/issues/3276

PR Checklist

Info on Pull Request

What does this include?

Validation Steps Performed

Deployed the change manually and validated with onefuzz jobs get <invalid_jobid>

codecov-commenter commented 1 year ago

Codecov Report

Merging #3318 (498c861) into main (51591b7) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #3318   +/-   ##
=======================================
  Coverage   31.78%   31.78%           
=======================================
  Files         307      307           
  Lines       37312    37312           
=======================================
  Hits        11860    11860           
  Misses      25452    25452           
Impacted Files Coverage Δ
src/ApiService/ApiService/OneFuzzTypes/Enums.cs 32.39% <ø> (ø)