You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: link cli-run to its full_scan via report_run_id on finalize
The depscan side now joins cli_run → full_scans → repositories via the
report_run_id field to surface the scanned repo in the admin dashboard
view of each CLI run. Wire the CLI to send the full_scan_id (== the
report_run_id depscan expects) when it has one.
- finalize_cli_run accepts an optional report_run_id and includes it
(nullable) in the POST body.
- streaming.py adds a module-level _report_run_id holder and a
set_report_run_id() setter; teardown passes it through to finalize.
- socketcli.py captures diff.id at a single chokepoint after the
diff-producing branches converge, guarded against the NO_DIFF_RAN /
NO_SCAN_RAN sentinel values.
The field is nullable end-to-end so CLI invocations that fail before
producing a diff (or are run in modes that don't create one) still
finalize cleanly.
0 commit comments