Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

fix(source-control): run the worktree reap without moving the caller's working directory

オープン 初心者向け
#8,021 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
76/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell
領域
cli, tooling

調査の方向性

クリーンアップコンテキストでの reap の呼び出しから始め、依存関係 #7132 がスクリプトの --worktree-path インターフェースを提供していることを確認する。呼び出し元側のディレクトリ変更を削除し、他の削除手順が対象ディレクトリに入らないことを確認する。変更されたスキルに対して check-skill.sh を、플グインに対して scripts/check-changelog-fragments.sh を実行する。完了とは、両方が成功し、変更された各プラグインに必要な changelog フラグメントが存在することを意味する。

索引モデルが issue の本文から書いたものです。

説明

needs-human work-class: mechanical

Refs: #7453
Depends on: #7132

Agent Brief

Type: Bug
Summary: Cleanup's reap step leaves the caller's working directory where it was, so a later removal of that directory does not fail as busy.

Current behavior:
Cleanup's reap step tells the caller to cd into the worktree before running the reap script. Because the shell keeps its directory between calls, the session stays inside a directory it is about to remove, and rmdir then fails with Device or resource busy (#7453 comment 2026-10-17).

Desired behavior:
Once #7132 lets the reap script enter the target itself, cleanup's reap step runs the script with --worktree-path <path> from outside the target and never changes the caller's directory; no step in the removal sequence leaves the shell inside a directory being removed.

Key interfaces:

  • Cleanup's reap invocation: no caller-side directory change.

Acceptance criteria:

  • The cleanup context's reap command contains no cd <path> && and passes --worktree-path.
  • No other removal step in the cleanup context changes the caller's directory into the target.
  • check-skill.sh passes on every skill whose files the diff touches.
  • scripts/check-changelog-fragments.sh passes, with one changelog fragment for each plugin the diff touches.

Out of scope:

  • The reap script's own change (#7132).
  • Cross-repository cleanup (sibling item).

This was generated by AI during backlog shaping. Split from #7453; the owner approved filing it in an attended backlog-shaping session on 2026-10-18.

主要言語
Shell
スター
22
フォーク
2
平均マージ
7時間 8分
マージ済み PR(30日)
874

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

melodic-software/claude-code-plugins のほかの issue

melodic-software/claude-code-plugins の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。