Skip to content

ci: record RPC performance in a single markdown history - #12

Merged
xiaoyumuxi merged 2 commits into
mainfrom
ci/performance-md-history
Sep 14, 2026
Merged

xiaoyumuxi merged 2 commits into
mainfrom
ci/performance-md-history

Conversation

@xiaoyumuxi

Copy link
Copy Markdown
Owner

目标

把 RPC 性能观测从 artifact / Actions Summary 简化成仓库内一个持续更新的 Markdown 文档。

改动

  • 新增 docs/PERFORMANCE.md
  • PR CI 继续运行 RpcPerformanceSnapshotTest,只验证性能测试和 metrics 一致性,不再上传性能 artifact,也不再写 Actions Summary
  • rpc-integration 将生成的 Markdown 快照作为 job output 传给后续记录 job
  • 新增 Record Performance job,仅在 push main 且 RPC Integration 成功时执行
    • 追加吞吐、Avg、P50/P95/P99、Max、Client/Server metrics
    • 使用 github-actions[bot] 提交回 docs/PERFORMANCE.md
  • 对仅修改 docs/PERFORMANCE.md 的 push 设置 paths-ignore,同时记录提交带 [skip ci],避免 CI 自触发循环
  • 写权限只给 Record Performance job;PR 测试 job 仍保持只读权限

说明

性能数据仍然是观测数据,不用 GitHub Hosted Runner 的绝对 QPS / 延迟作为硬性合并门槛。仓库中的 docs/PERFORMANCE.md 将成为唯一长期性能记录。

@xiaoyumuxi
xiaoyumuxi merged commit c525edb into main Sep 14, 2026
5 checks passed
@xiaoyumuxi
xiaoyumuxi deleted the ci/performance-md-history branch September 14, 2026 09:36
@xiaoyumuxi
xiaoyumuxi restored the ci/performance-md-history branch September 14, 2026 09:36
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