perf(pr-pipeline): end the demotion alert's re-run wait as soon as main recovers
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
- 76/100
Hướng nghiên cứu
Đọc .github/workflows/post-merge-demotion-alert.yml và theo dõi bước kiểm tra khôi phục hiện có sau vòng lặp chờ. Cập nhật bài kiểm thử vòng lặp chờ để xác minh rằng vòng lặp thoát ngay ở lần thăm dò đầu tiên khi có một lần chạy pr-require-checks thành công mới hơn trên main, và đầu ra recovered=true cùng thông báo khớp với luồng xử lý hiện tại sau vòng lặp.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Refs: #8897, #8898
Problem
post-merge-demotion-alert.yml waits up to 40 one-minute polls for a re-run of a bot-dispatched red run (polls=40), and only after that loop checks whether a newer pr-require-checks run on main succeeded. pr-merge does not re-run these dispatched reds (no red reached attempt 2), so the wait always times out.
All seven dispatched reds between 2026-10-21 20:37Z and 2026-10-22 03:40Z ran the full 40 minutes, then filed nothing because main had already recovered 8 to 30 minutes after the red. For example, alert run 39688650626 ran 22:44:24 to 23:24:43, while main passed at run 39689621793 before 23:00. That is about 280 runner-minutes for no filing. Details: #8898.
Fix
Inside the wait loop, also run the recovery check for a newer successful pr-require-checks run on main after the red run. When one exists, exit with the same "main already recovered" notice and recovered=true output as today. Filing behavior does not change.
Done when a test of the wait loop shows it exits on the first poll where a newer success exists, and the output and notice match the current post-loop path.
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 7 giờ 23 phút
- Pull request đã merge (30 ngày)
- 950
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của melodic-software/claude-code-plugins
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dotsĐang mởneeds-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
melodic-software/claude-code-plugins#9026 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
melodic-software/claude-code-plugins#9000 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
melodic-software/claude-code-plugins#8998 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(source-control): ready hold check treats hyphenated identifiers containing wip as a WIP markerĐang mởpriority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
melodic-software/claude-code-plugins#8977 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
fix(ai-slop): detect.sh --paths-file drops the last entry when the file has no trailing newlineĐang mởpriority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
melodic-software/claude-code-plugins#8974 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
bug-unconfirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[pico][astrocade] emu/apply.sh edits src/mame/midway/astrohome.cpp, which current MAME has in bally/Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
FujiNetWIFI/fujinet-firmware#2120 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:terraform priority:low source:reader type:enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
stephrobert/blog-roadmap#104 ·