[Bug]: t3_worktree_handoff drops git's error message ("git worktree add failed")
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 73/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- git, typescript
調査の方向性
apps/server 領域で t3_worktree_handoff の呼び出しをたどり、報告された失敗の発生元である GitVcsDriver.createWorktree まで確認します。git コマンドのエラーと stderr がどのように処理されるかを確認し、git worktree add の失敗を再現して、返されるエラーに git のメッセージ、ブランチ、パスが含まれることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Fill the disk until it has a few hundred MB free (or any other condition that makes
git worktree addfail for a reason other than the ones T3 already names). - From a Claude thread on the project root, call
t3_worktree_handoffwith{"branch": "fix/example", "baseRef": "origin/main", "startFromOrigin": true, "continuationPrompt": "…"}.
Expected behavior
The error carries git's own message and the ref and path T3 used, e.g. git worktree add failed: fatal: … No space left on device (branch fix/example from origin/main), so the agent can act on it.
Actual behavior
{"_tag":"WorktreeMcpFailure","code":"operation_failed","message":"Unable to create the worktree: Git command failed in GitVcsDriver.createWorktree (<project root>): git worktree add failed"}
git's stderr is dropped. In the case above the agent only found the cause (disk 100% full, 356 MB free) by running git worktree add --dry-run and df itself; the identical handoff call succeeded later once space was freed.
In my usage over one week this generic error came up 3 times in 3 sessions, with different underlying causes. The cases T3 already recognises are clear (e.g. Branch '…' already exists and is checked out at '…'), so this is about the fallback path.
Impact
Minor bug or occasional failure
Version or commit
0.1.10 (desktop); also seen on the build before it
Environment
macOS 27.2 arm64, Claude Code 2.1.327 provider
Logs or stack traces
See "Actual behavior".
Workaround
Run git worktree add --dry-run by hand to see git's message.
Related: #38027, where a missing ref was reported as a different error and the error text didn't name the ref.
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 4時間 46分
- マージ済み PR(30日)
- 488
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Add provider can create a built-in driver's default instance, which has no delete action対応中かも @nateEc が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
pingdotgg/t3code#38462 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
solidjs/solid-docs#1716 ·
メンテナーはふだん 1 日以内に返信
-
Progress indicated by console logs is off by one対応中かも @marceliwac が今日担当しました。 オープンbug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
aws-samples/aws-cdk-examples#1336 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
melgarafael/DeskcommCRM#4999 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
db-ux-design-system/core-web#8856 ·
メンテナーはふだん 1 日以内に返信