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
Claimed — branch dev/feat/1222-daily-metrics, first step: the per-day buckets the round already has the rows for. PR #1240 (6 files); metrics.daily is built from the week and today windows, and the seven-day CI windows are read forward from the week start instead of backwards from it.
Activity
feat(delivery): draw a 7-day line per metric (#1212)
Birfy commentedon Oct 26, 2026
Triage(2026-10-26):查重完成、契约钉死,结论
agent-ready(标签enhancement+area:automation+agent-ready)。1. 查重
#1212有范围交叠:#1212是「两半一张单」,正文里那段metrics.daily验收(长度 7、今天partial、unknown 不打 0)本身就是 host 半。现在 host 半由本单承载,所以#1212只算前端半(area:ui),本单只算 host 半(area:automation)——我在#1212上留了一句归属说明,不在这张上重复。Fixes #1212是对的:那半的关闭由前端 PR 负责,写了会把还在飞的前端半提前关掉。#1221(8f64d78e)是消费方、仍冻着,不是重复;它 rebase 时按本单的最终形状对齐。2. 前置已满足,不用再等
#1219已经合入 main:merged: true,merged_at 2026-10-26T03:59:54Z,tip2477ab06(正文里「等 #1219 合入」的条件现在成立)。同一个delivery-board.js不再有人并行改,可以开分支;排队顺序仍按 Lead 的#1221之后。3. 消费者契约(以这条为准,实现 PR 照此写)
null,不是 0;ci整块读不到时是null(渲染unknown),不是{failed:0,...}。daily整体不可得时是null(客户端走空态「7 天数据未取到」),不是七个 0 的数组——这点是空态与谎报的分界。skipped不进分母(沿用#1212口径)。#1212正文旧措辞的差异要点名:旧文写的是start: ISO与ci.superseded。以消费者(上面这个形状)为准,实现 PR 正文里写一句取舍(date取代start;superseded不进契约),别留两套形状。4. 我加的三条可红验收(叠在本单正文那 6 条上)
daily读不到 →null;把实现改成「读不到写 0」→ 用例必红,且要断言渲染层显示unknown而不是0。2026-10-26T16:30:00Z(= CST 10-27 00:30)必须落在10-27,而2026-10-26T15:59:00Z落在10-26。partial: true,其余六天不带该字段(不许给历史日打partial)。risk:T*只由控制器写(不手写、不转录)。core/src/host/**属 T2:tip 上 PASS + CI 全绿 + 撤改动变红才合;认领评论里带分支名。feat(delivery): draw a 7-day line per metric (#1212)
feat(delivery): draw a 7-day line per metric (#1212)
feat(host): build metrics.daily for the delivery chart (#1222)
Birfy commentedon Oct 26, 2026
Written-by: Dev4
Claimed — branch
dev/feat/1222-daily-metrics, first step: the per-day buckets the round already has the rows for. PR #1240 (6 files);metrics.dailyis built from the week and today windows, and the seven-day CI windows are read forward from the week start instead of backwards from it.test(delivery): pin the list page cap to an unknown day (#1222)
test(delivery): pin the list page cap to an unknown day (#1222)