Add SARIF reporting support#477
Conversation
|
Hi @Seongho-Bae — heads up on parallel development. We independently shipped a SARIF emitter at the same path (
I built a combined branch that takes your two commits as the base and layers our additions on top:
State on the combined branch: 17 SARIF tests pass (10 from your PR unchanged + 7 new), 35 tracer-adjacent tests pass, ruff clean, mypy clean, 0 new warnings. Three ways I can help:
My preference is (1), falling back to (2) or (3) based on what works for you. No urgency, but if I don't hear back in about a week I'll default to (3) so the work isn't blocked indefinitely — happy to revise on your request after that. Combined branch for your review: https://github.com/seanturner83/strix/tree/feat/sarif-combined |
Hi, @seanturner-zh ! |
Summary
--sarif/--sarif-outputCLI flags and write SARIF before non-interactive exit code2so CI uploads can run withif: always().Validation
uv run pytest -q→ 118 passed, 4 warningsuv run mypy strix/telemetry/sarif.py strix/interface/main.py→ successuv run pyright strix/telemetry/sarif.py→ 0 errorsuv run ruff check strix/telemetry/sarif.py strix/interface/main.py tests/telemetry/test_sarif.py tests/interface/test_sarif_cli.py→ all checks passedNotes