发布

  • [OPIK-7710] [FE] fix: refresh Logs metrics cards after deleting traces and threads (#7708)

    frostbyte_neo 发布于 2026-08-03 12:32:19 +00:00

    The Logs metrics cards are rendered by MetricsSummary, which reads
    useProjectKpiCards ("project-kpi-cards"). No mutation invalidated that key, so
    the Traces count kept its pre-delete value while the table updated correctly.

    Also invalidate the "*-statistic" keys, which feed the per-column aggregates in
    the table headers and were stale on the same paths. Applied to all three delete
    mutations, not just the reported bulk-delete one.

    Co-authored-by: Claude Opus 5 noreply@anthropic.com

    下载附件