Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

perf(pr-pipeline): lane audit listing reserve, count-call reuse and busiest-first order

Đang mở Phù hợp với người mới
#9,339 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript, node.js
Lĩnh vực
devtools

Hướng nghiên cứu

Bắt đầu với .github/scripts/maintenance-audit-lane-runs/collect.mjs và các bài kiểm thử trong .github/scripts/maintenance-audit-lane-runs/*.test.mjs; theo dõi phép tính phần dự trữ, yêu cầu đếm và thứ tự slice D. Chạy node --test .github/scripts/maintenance-audit-lane-runs/*.test.mjs trước. Hoàn tất khi trường hợp 4A/0D/4C chạy xong, các lượt chạy gọi đếm được tái sử dụng và các workflow bận nhất được đọc trước.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

priority: medium status: needs-decision work-class: scoped

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

  1. 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.
  2. 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.
  3. 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.mjs passes, 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

Ngôn ngữ chính
Shell
Star
22
Fork
2
Merge trung bình
6 giờ 58 phút
Pull request đã merge (30 ngày)
951

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của melodic-software/claude-code-plugins

Tất cả issue của melodic-software/claude-code-plugins

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.