Repository navigation
[Video] add the read-only H3 performance history API and list / 新增只读的 H3 性能历史 API 与列表 - #1192
edwingao28 wants to merge 3 commits into
Conversation
中文:新增只读 H3 性能历史。复用已发布产物索引,保留原始执行与导出身份、失败和资格状态,提供英中筛选与原结果直链,并以保留数据验证桌面和移动端交互。未创建新的性能测量或发布结果。
Open the first readable published artifact when Results has no selection. Preserve the selected run, artifact, source and cell across refresh, retry and reload, and cancel stale selection when returning to History. 中文:修复视频页的已发布 H3 结果入口。 未选择运行时读取已发布产物;刷新、重试和重新加载时保留运行、 产物、原始运行和并发配置,返回性能历史时取消过期选择。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Claude finished @edwingao28's task in 3m 12s —— View job Review complete
🟢 LGTM — no blocking issues found. Runtime check ( CI: Lint & Format ✅, Tests (Unit) ✅, Code Quality ✅ (E2E still running at review time). What I checked closely and found sound
Non-blocking (Chinese copy, advisory)
|
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1d5084a. Configure here.

Summary
Reads already published H3 runs from Vercel Blob into a per-cell history projection (
GET /api/video-runs?format=history) and lists them under/video?view=historywith bilingual filters and result links, keeping execution identity and failure/qualification status. No new measurement. First of two stacked PRs; the/videodashboard follows.AI model disclosure
Validation
E2E_FIXTURES=1server, run on the stacked dashboard branch that includes these commits; not re-run in isolation here.中文说明
把已发布到 Vercel Blob 的 H3 运行读成按 cell 的性能历史投影(
GET /api/video-runs?format=history),并在/video?view=history列出:中英文筛选、直达结果链接,保留执行身份与失败、资格状态。不产生新的测量。两个堆叠 PR 的第一个,/video仪表板随后提交。AI 模型:claude-fable-5-1(Claude Code),负责实现、测试与文档;作者把关方向并审阅。
验证:typecheck、lint、fmt、vitest(video-runs 路由与 history,27 项通过)及 navigation e2e(
E2E_FIXTURES=1服务器)在包含本分支提交的仪表板分支上运行;未在本分支单独重跑。Note
Medium Risk
Changes default
/videoload behavior and adds blob index scanning plus new client navigation races; read-only and guarded by repo visibility, but UX and API surface for the hidden viewer expanded materially.Overview
Adds read-only H3 performance history end to end:
/videodefaults to a Performance history tab instead of auto-scanning GitHub Actions, while Browse CI runs keeps the legacy Actions discovery path.API & storage:
GET /api/video-runs?format=history&page=Nreturns a versioned projection from existing Vercel Blob index metadata viapublishedVideoHistory(paginated, newest publication first, no media download or publish).videoHistoryEntrymaps stored artifacts into per-cell observations using existing serving/tradeoff logic, with explicit errors and null metrics where data is missing.E2E_FIXTURES=1replaysvideo-history.jsonwithX-VideoGenX-Replay.UI: New
VideoHistorylists published runs with bilingual copy, URL-backed filters (history-hardware,history-concurrency,history-query), pagination, and links into the video viewer.VideoCIRunsadds?view=history|results, published-first loading for Videos & result, cancels in-flight selection when returning to history, and preserves share URLs including history filters.Docs & tests:
docs/video-history.mddocuments read paths and evidence boundaries; Cypress/Vitest cover navigation, retries, stale-response guards, and catalog ordering.Reviewed by Cursor Bugbot for commit 1d5084a. Bugbot is set up for automated code reviews on this repo. Configure here.