fix(source-control): pull-request ready pushes from the session cwd, not the PR worktree
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ó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 68/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, github, shell
- Lĩnh vực
- cli, developer-experience, tooling
Hướng nghiên cứu
Start from the source-control pull-request ready skill and the push step that calls push-branch.sh. Trace how the cwd vs PR worktree is chosen, then pass an explicit worktree, branch, or PR-derived refspec so a different session cwd cannot push the wrong branch or print up-to-date. Add a test that runs the script from worktree A for a PR on worktree B and asserts B is pushed or the script exits non-zero.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
On 2026-10-04 a subagent ran /source-control:pull-request ready 6275 against the PR's worktree (/home/kyle/worktrees/melodic-software-claude-code-plugins-fix-wizard-write-env). The skill's push step (push-branch.sh) ran from the session's working directory, a different worktree, printed "Everything up-to-date", and pushed nothing. The merge-base commit only reached the PR because the agent noticed and pushed from the PR's worktree by hand.
A caller that trusts the script's success would flip a PR ready whose pushed head lacks the base merge, so CI and review run on the old head.
Expected
The push step pushes the branch of the PR being readied, from that PR's worktree (or with an explicit worktree path or refspec), and fails, rather than reporting "up-to-date", when the session's working directory is not on that branch.
Acceptance
push-branch.shtakes the target worktree or branch explicitly, or resolves it from the PR number, and never pushes the cwd's branch for a different PR.- A test runs the script from worktree A for a PR on worktree B and asserts B's branch is pushed, or the script exits non-zero.
- 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