Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 6ea2faa

Browse files
authored
Populate InputBlob when possible (#3342)
* Populate inputblob when possible * PR comment
1 parent 02d9c0d commit 6ea2faa

File tree

1 file changed

+4
-1
lines changed
  • src/ApiService/ApiService/onefuzzlib/notifications

1 file changed

+4
-1
lines changed

src/ApiService/ApiService/onefuzzlib/notifications/Ado.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ public async Async.Task<OneFuzzResultVoid> NotifyAdo(AdoTemplate config, Contain
2424
Report? report;
2525
if (reportable is RegressionReport regressionReport) {
2626
if (regressionReport.CrashTestResult.CrashReport is not null) {
27-
report = regressionReport.CrashTestResult.CrashReport;
27+
report = regressionReport.CrashTestResult.CrashReport with {
28+
InputBlob = regressionReport.OriginalCrashTestResult?.CrashReport?.InputBlob ??
29+
regressionReport.OriginalCrashTestResult?.NoReproReport?.InputBlob
30+
};
2831
_logTracer.LogInformation("parsing regression report for ado integration. container:{Container} filename:{Filename}", container, filename);
2932
} else {
3033
_logTracer.LogError("ado integration does not support this regression report. container:{Container} filename:{Filename}", container, filename);

0 commit comments

Comments
 (0)