fix(source-control): ready hold check treats hyphenated identifiers containing wip as a WIP marker
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
- 77/100
Hướng nghiên cứu
Đọc plugins/source-control/skills/pull-request/scripts/check-ready-holds.sh, đặc biệt là dòng 77, và theo dõi cách bộ khớp tiêu đề nhận diện các dấu hiệu WIP. Thêm tiêu đề được báo cáo thành một kiểm thử stay-quiet thất bại trước khi sửa, sau đó thu hẹp bộ khớp để các mã định danh có dấu gạch nối không bị tính là dấu hiệu WIP. Hoàn tất khi kiểm tra sẵn sàng thành công với tiêu đề tái hiện lỗi và vẫn phát hiện các dấu hiệu WIP đứng riêng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
/source-control:pull-request ready refuses to flip a draft whose title names a hyphenated identifier containing wip, reporting a WIP marker.
plugins/source-control/skills/pull-request/scripts/check-ready-holds.sh:77 tests the title with test("\\bwip\\b"; "i"). A hyphen is a word boundary, so check-wip-cap matches.
Reproduction
PR #8967, title refactor(pr-pipeline): fold the admission window into check-wip-cap with a queued-work count:
title: a WIP marker in "refactor(pr-pipeline): fold the admission window into check-wip-cap with a queued-work count"
exit=3
Expected
A WIP marker is a title token such as a leading WIP, [WIP] or WIP:, not wip inside a hyphenated identifier. The ready check should pass this title.
Fix
Narrow the matcher, for example to a leading WIP/[WIP]/(WIP) token or wip that has no -, _ or alphanumeric character on either side. Per the hook-precision convention, land it with a stay-quiet test (the title above) that fails before the fix.
- 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-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#9013 · 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(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ự
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
-
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 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
ReproNim/containers#172 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
fairagro/m4.2_infrastructure#54 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày