fix(source-control): worktree cleanup's plugin-record reap dirties the tree, so plain removal always fails
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ệ
- git, markdown, shell
- Lĩnh vực
- developer-experience, documentation, tooling
Hướng nghiên cứu
Bắt đầu trong plugins/source-control/skills/worktree/context/cleanup.md tại project-scope plugin-record reap (claude plugin uninstall -s project) chạy trước git worktree remove. Xác nhận nó viết lại .claude/settings.json đang được theo dõi (bỏ enabledPlugins, sắp xếp lại các khóa) và để tree dirty. Xong khi một worktree trước đó sạch vẫn remove được mà không cần --force (khôi phục tệp settings đang theo dõi hoặc uninstall đối với một scope không được theo dõi), hoặc quy trình ghi rõ vì sao --force là bắt buộc sau một reap.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
plugins/source-control/skills/worktree/context/cleanup.md reaps project-scope plugin records before removing a worktree. The reap runs claude plugin uninstall -s project from inside the tree, which rewrites the tracked .claude/settings.json: it drops the enabledPlugins entries and reorders the keys. The tree is then dirty, so the plain git worktree remove the procedure expects fails, and every removal needs --force.
Observed on all nine #6225 sweep worktrees, eight of which were clean before the reap.
Expected
After the reap, restore the tracked settings file (or run the uninstall against a non-tracked scope) so a clean tree still removes without --force. Alternatively, have the procedure say that --force is expected after a reap and why.
Related
#6225
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 5 giờ 11 phút
- Pull request đã merge (30 ngày)
- 838
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
-
good first issue needs-triage priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#6631 · 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 78/100
melodic-software/claude-code-plugins#6547 ·
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 76/100
melodic-software/claude-code-plugins#6535 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
test_comment_census.py: SccArgv flag-shaped-filename test errors on Windows (#!/bin/sh scc shim)Đang mởgood first issue needs-triage priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#6532 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue needs-triage priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#6390 · 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ự
-
`helios / deploy`: switch zone wait in `deploy.sh` has almost no headroom over healthy startup timesĐang mởTest Flake
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
oxidecomputer/omicron#11453 ·
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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gnosis/gnosis_vpn#540 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug milestone-qa
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
lognorman20/monaco#3901 ·
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)Đang mở
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
omacom/omarchy-mac#701 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày