feat(dashboard): the code graph's card on the target page (t82) #937

Merged
sharang merged 1 commits from feat/t82-graph-card into main 2026-11-07 10:24:14 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 60f591f31c feat(dashboard): the code graph's card on the target page (t82)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 5m2s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 18m21s
When a scan has built a code graph with declarations in it, the target
page shows a card with:
- the number of code units (functions, types, PLC blocks);
- the number of entry points;
- the languages;
- one line on why it matters: triage takes into account whether an
  entry point reaches a finding.

The build run counts its file nodes and entry points once, while it is
built. The new GET /api/v1/graph/{id}/summary then reads only the latest
build and loads no nodes. A build stored before this change has no counts
and shows no card until the next scan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 11:05:37 +01:00