Skip to content

Performance dashboard: Nightly CI metrics for FlyBot smoothness #357

Not planned

Description

@hsliuustc0106

Why

#356 asks volunteers to measure smoothness once. That is not enough: we need a daily performance board fed by Nightly CI, so regressions show up every morning instead of after a bad release. Ties to #351 (daily tags) and the metrics chosen from #356.

Goal

A FlyBot-specific performance dashboard, updated every night from CI, showing trend lines for a fixed set of scenarios on a known machine profile.

Scope

Nightly CI suite

Dashboard

Acceptance

  • Nightly job runs without manual steps and publishes artifacts every night.
  • Dashboard shows at least the 5 personal-mode metrics above for the last 7 days.
  • A deliberate slowdown in a fixture causes a warn or fail within one night.
  • No secrets or personal content in artifacts.
  • Docs explain how to add a new scenario and how thresholds are set.

Open questions

  1. Host the board on GitHub Pages, in the repo as committed history, or both?
  2. Absolute thresholds vs relative (e.g. 20% worse than 7-day median)?
  3. Mock model only, or also a cheap real model for end-to-end latency?
  4. Who owns reviewing the board each morning?

Process

CI and dashboard work go through cloud OpenCode, review via Codex; bots do not hand-write code. Use results from #356 to pick the first thresholds.

Activity

  1. added
    enhancement
    area:automation
    needs-human
    on Oct 19, 2026
  2. Birfy commented on Oct 19, 2026

    @Birfy
    Collaborator

    Triage on main 7b9e90b, 2026-10-19 ~12:10 Asia/Shanghai: needs-human, not agent-ready. Depends on #356 (baseline) and needs a go-ahead for Nightly CI cost and where the dashboard lives.

  3. HugoXK commented on Oct 21, 2026

    @HugoXK
    Contributor

    Design for the owner to pick. #356 measures once; #357 wants the numbers every night. It depends on #358's matrix for what to run, so the scenarios come from there.

    (a) Nightly appends metrics to a JSON artifact + a static table (recommended). A nightly-perf job on the fixed runner label (already noted in #356) runs the mock scenario rows from #358, records per-scenario ms/tokens from the existing llm-tap/usage data, writes docs/…/perf.json (or a workflow artifact), and a small generated table shows the trend. No external service.

    • Size: ~150 lines (a runner + a generator) + the workflow.

    (b) Publish to a hosted dashboard. As (a), pushing to an external metrics service. Needs an account/key and adds a dependency; not needed for "a regression shows up every morning".

    • Size: +integration.

    (c) A committed CSV per run. Simplest, but noisy in git history and awkward to read.

    Recommendation: (a). Keep it in-repo and comparable day to day; the fixed runner label is the only requirement, which #356 already asks for. If the owner wants (b), the same recorded numbers can be pushed later.

    Note: the package job already exists and the merged core/dev/eval/ can emit machine-readable results, so the scenario runner is the only new piece this needs from #358.

  4. Birfy commented on Nov 6, 2026

    @Birfy
    Collaborator

    Written-by: Chief

    排在 #356 后面。#356(一次性基线 + 可复现脚本)刚解卡、已开工;每日看板要不要上、跑在哪个 runner,等基线数字出来再定——那时我拿数字来问一次,不再另开一问。本轮不动工。

  5. Birfy commented on Nov 10, 2026

    @Birfy
    Collaborator

    Written-by: Triage

    #356 的测量脚本和文档已随 #2570 上 main,但四个指标的真实数字没测出来——这台机器构建不了 deepseek-harness,数字卡在 #2571。所以每日看板要不要先上,请你选:

    A:先上夜间 job——每晚在固定 runner 上跑现有四个指标,把 JSON 结果和一张静态趋势表落进仓库,数字行先留"—",等 #2571 解了再填。
    B:等 #2571 出真实基线数字后,再一次性把看板和阈值一起做完。

    回 A 或 B 即可。

  6. Birfy commented on Nov 10, 2026

    @Birfy
    Collaborator

    Written-by: Chief

    基线已经有数了:docs/performance-baseline.md 记着 2026-11-07T07:26:31Z 在 87b2e08 上的四个值(turn 端到端 p50 2330.9ms、tool-call 5.0ms、RSS 峰值 595.4MB、插件加载 14108.7ms)。但 .github/workflows/nightly.yml 现在只有 Compatibility 矩阵,没有任何 perf job——有基线、没有每日看板,正是这条要的东西。口径只剩一个:

    A 现在加 nightly-perf:固定 runner、跑 core/dev/bench.sh perf、存 JSON 工件并生成趋势表,不设阈值(只记数,哪次算回归由人看)。
    B 先不做看板,等出现真实回归再谈。

    选 A 我下一拍就把它拆成开发单。

  7. Birfy commented on Nov 16, 2026

    @Birfy
    Collaborator

    现状:这条要的是固定 runner 上的 Nightly 性能看板(6 个场景 + 7 天中位数 + 阈值告警 + 一个页面),成本是一整条 CI 线加一个页面,不是一次小改动。

    A/B:A 现在排——先只做 3 个便宜场景(冷启动到可发送、首条消息延迟、500 条消息滚动),先出 JSON 指标、不做页面;B 先只把 #356 的一次性基线填完,看板等出现真实回归再说。

    Written-by: Chief

  8. Birfy commented on Nov 19, 2026

    @Birfy
    Collaborator

    Written-by: Chief

    决定(2026-11-19,Chief 自决):暂不做。

    理由:整条是「夜间 CI 采 6 个场景 + 7 天中位数 + 阈值告警 + 一个页面」,成本是一整条 CI 线加一个前端页;在 #3110 的八个包还没铺开之前不占这条带宽。等 #3116/#3120 各自出第一张可合 PR 后再评估。

  9. Birfy commented on Nov 23, 2026

    @Birfy
    Collaborator

    分拣(读于 2026-11-23T16:15Z,main 26dce9b9)

    Written-by: Chief

    要你拍一次 —— 这是 CI 成本口径,不是技术口径。

    A:现在建第一版:只做场景 1(冷启动到能发首条)与场景 2(首条延迟,mock 模型),产出 JSON 指标 + 7 日中位数对比,阈值只告警不判失败;dashboard 页面先不做,先看两晚数据。代价:每晚多一份 CI 时间,头两晚可能 flaky,需要 2–3 晚校准。
    B:先不做:等 #356 的一次性基线把场景与阈值口径定下来,再一次性建全 5 个场景。代价:这期间性能回归只能靠体感发现。

    回 A 或 B。

  10. Birfy commented on Nov 26, 2026

    @Birfy
    Collaborator

    关闭:性能面板 / Nightly CI 平滑度指标(2026-10 旧自动化规划线,非验收结论)

    依据(main d8898cad,2026-11-25T12:20:16Z,2156 blobs):

    • 正文没有引用任何在该 SHA 上仍存在的路径,描述的实现对象已不在当前代码库。
    • 该单属于 0.3.0 重构前的 Team / tree / inbox 规划线;Release FlyBot 0.3.0 with the OpenTeamily workspace #3377 已移除对应实现目录。
    • 关闭仅表示旧线不再跟踪,不是对原需求的验收结论。

    Related #3377

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:automationenhancementneeds-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions