Skip to content

Fix overview data integrity and freshness / 修复概览数据准确性与刷新问题 - #1111

Open
adibarra wants to merge 2 commits into
masterfrom
fix/overview-data-integrity
Open

Fix overview data integrity and freshness / 修复概览数据准确性与刷新问题#1111
adibarra wants to merge 2 commits into
masterfrom
fix/overview-data-integrity

Conversation

@adibarra

@adibarra adibarra commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Note

High Risk
Changes core overview cost math, tier selection, ETL topology, and cache invalidation; published matrix and ranking numbers shift until optional DB backfills and cache invalidation are applied in production.

Overview
Corrects overview cost and coverage after an audit: total throughput is no longer penalized a second time for disaggregation, each hardware column picks the lowest-cost eligible FP4/FP8 stack, and endpoints above the selected minimum SLO count at their measured speed (with UI labels and updated methodology copy). Evidence tooltips now separate measurement completion, run-attempt, and curve snapshot dates.

Freshness: the overview BFF client cache gets a 5-minute TTL, periodic/ focus refresh without touching history, and bumped derived cache keys for overview, /run, and /rankings.

Pipeline: ingest maps fixed-sequence physical GPU counts like AgentX, normalizes colocated zero-decode Dynamo rows, stores measurement_*_unix_seconds from profiles (preserved on re-ingest), documents throughput denominators in the public API, and adds db:backfill-benchmark-topology plus safer full-response date backfill/--limit behavior. Rankings/run SEO text aligns with minimum-SLO semantics; Cypress and unit tests follow the new matrix values and refresh races.

Reviewed by Cursor Bugbot for commit 93785bd. Bugbot is set up for automated code reviews on this repo. Configure here.

Use producer-normalized total throughput once, minimize cost across eligible
configurations, and retain measured endpoints that meet the minimum SLO.
Separate measurement, run-attempt, and curve dates; expire client cache entries
and guard refresh races. Correct physical-chip ingestion and add a conservative,
dry-run-first topology repair command. Align dependent run/rankings pages.

中文:修复概览成本计算、SLO 数据覆盖与刷新问题。
直接使用生产端已按全部物理芯片归一化的总吞吐量,从满足最低 SLO 的有效配置中
选择最低成本。区分实测、运行与曲线快照日期,修复客户端缓存过期和刷新竞态。
校正摄取流程中的物理芯片数,并提供默认只读、保守判定的历史数据修复工具;
同步更新使用相同计算逻辑的运行详情页和排行榜。
@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
inferencemax-app Ready Ready Preview Sep 10, 2026 6:05pm UTC

Request Review

@blacksmith-sh

This comment has been minimized.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7bd081f. Configure here.

Comment thread packages/db/src/backfill-full-response-interactivity.ts
Read coach-mark and marker coordinates together in retryable assertions.
Count successful updates toward the full-response backfill limit and scan
past dateless profiles and no-op updates, with regression coverage.

中文:修复图表断言的时序问题,避免历史数据回填批次被无效记录占满。
在同一次可重试断言中读取提示箭头和数据点坐标;回填的数量限制只统计
实际更新的记录,跳过无法恢复时间戳或无需更新的记录,并补充回归测试。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant