Repository navigation
feat(reviews): download review findings as SARIF - #10
Conversation
No blocking issues foundCommit: bc9b1f1 The change adds a local SARIF download with finding locations, severity, fingerprints, revision metadata and coverage information. It includes documentation and regression tests for populated and empty reports. Source review found no blocking issues or embedded credentials in the changed lines. Tests were not executed during this review. Change vs. PR intent: Aligned. The overview button and SARIF serializer implement the stated local export, including empty results, coverage metadata and title-based fingerprints. ScoresCode quality █████ 5/5 Security █████ 5/5 Local SARIF downloadflowchart LR
n0["Reviewer selects Download SARIF"]
n1["Convert recorded findings and run metadata to SARIF"]
n2["Create a local Blob URL and trigger file download"]
n3["Revoke the Blob URL after a delay"]
n0 -->|"Pass the displayed report"| n1
n1 -->|"Serialize SARIF as JSON"| n2
n2 -->|"Schedule URL cleanup"| n3
No findings on the changed lines. View the full report in Inkspect Reviewed by Inkspect · engine v0.0.40 |
What changes and why?
Reviewers can select Download SARIF in the overview of a completed review to import findings into another analysis tool. The browser creates a SARIF 2.1.0 file locally, including source locations, severity, the reviewed revision and coverage. A completed review with zero findings also produces a report.
Fingerprints use the file path, normalized finding title and occurrence in source order. A file rename or a reworded title can change the fingerprint.
Validation