perf(pr-pipeline): lane audit listing reserve, count-call reuse and busiest-first order
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 78/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- javascript, node.js
- 领域
- devtools
调研方向
从.github/scripts/maintenance-audit-lane-runs/collect.mjs及其测试.github/scripts/maintenance-audit-lane-runs/*.test.mjs开始;追踪预留量计算、计数请求和 slice D 的排序。先运行node --test .github/scripts/maintenance-audit-lane-runs/*.test.mjs。完成标准是:4A/0D/4C 情况能够完成,计数调用的运行结果得到复用,并且最繁忙的 workflow 最先读取。
由索引模型根据 Issue 内容生成。
描述
Refs: #9297
Summary
Review suggestions from Automation Lanes on #9323 (lane audit full 24 h window), deferred so the reviewed head could merge. All three are in .github/scripts/maintenance-audit-lane-runs/collect.mjs.
Fix
DETAIL_RESERVE(about lines 23-27) assumes 2 D units. With 4 A, 0 D and 4 C units a run needs 184 calls, not 170, so it stops early and reports the window as incomplete. Set the reserve from the real unit mix (184 for that case) or correct the comment.- The per_page=1 count call (about line 105) is followed by page 1 of the same range (about line 124). Use per_page=100 for the count call and keep its runs; that saves about 27 calls a run.
- Reading the smallest workflows first (about line 131) means a short budget leaves the busiest ones partly read. Rank slice D by the counted totals.
Verification
node --test .github/scripts/maintenance-audit-lane-runs/*.test.mjspasses, with tests for a 4A/0D/4C mix completing, the count call's runs reused, and busiest-first order.
Related
#9323, #9297
🤖 Generated with Claude Code
- 主要语言
- Shell
- 星标
- 22
- 派生
- 2
- 平均合并
- 6 小时 11 分钟
- 30 天内合并 PR
- 955
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
melodic-software/claude-code-plugins 的其他 Issue
-
needs-triage
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#9619 ·
维护者通常 1 天内回复
-
priority: medium status: ready
难度 2/5 1-3 小时 新手友好度 78/100
melodic-software/claude-code-plugins#9617 ·
维护者通常 1 天内回复
-
evals: run-validity calls runs VALID when every Bash call failed to start the sandbox (long TMPDIR)未关闭priority: medium status: needs-decision work-class: scoped
难度 2/5 1-3 小时 新手友好度 72/100
melodic-software/claude-code-plugins#9611 · 2 条评论 ·
维护者通常 1 天内回复
-
fix(pr-pipeline): apply-verdict readFields reads a malformed field-values answer as no fields set未关闭priority: low status: confirmed
难度 2/5 1-3 小时 新手友好度 83/100
melodic-software/claude-code-plugins#9598 · 1 条评论 ·
维护者通常 1 天内回复
-
priority: medium status: needs-decision work-class: scoped
难度 2/5 1-3 小时 新手友好度 72/100
melodic-software/claude-code-plugins#9578 · 2 条评论 ·
维护者通常 1 天内回复
查看 melodic-software/claude-code-plugins 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Leonxlnx/taste-skill#164 ·
维护者通常 1 天内回复
-
reproduced
难度 2/5 1-3 小时 新手友好度 78/100
anomalyco/opencode#58651 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
使用脚本 DD 腾讯云 报错未关闭
难度 2/5 1-3 小时 新手友好度 82/100