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

fix(source-control): ready hold check treats hyphenated identifiers containing wip as a WIP marker

Đang mở Phù hợp với người mới
#8,977 1 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
77/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ệ
shell
Lĩnh vực
cli, testing

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ả

priority: medium

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

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.