branch_sync_guard: handle stack branches whose upstream is the parent branch
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start in scripts/lib/branch_sync_guard.sh, where the guard resolves the upstream via @{u}, and check how scripts/wait_pr_ready.sh calls it. Reproduce by creating a branch with git switch -c <branch> origin/<base> and inspecting git rev-parse --abbrev-ref @{u}. Done means the guard compares against origin/<current> when the upstream names a different branch, and prints a --no-track hint when that ref is missing. The issue does not name a test file.
索引モデルが issue の本文から書いたものです。
説明
git switch -c <branch> origin/<base> sets the new branch's upstream to the parent PR's branch. scripts/lib/branch_sync_guard.sh then compares against that upstream, so wait_pr_ready.sh refuses the stack branch. An owner in the Cursor plugin stack had to run git branch --unset-upstream.
Proposed mechanism: when @{u} names a different branch than the current one and origin/<current> exists, compare against origin/<current>. Otherwise print a hint to use --no-track.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high
- 主要言語
- TypeScript
- スター
- 2.1k
- フォーク
- 139
- 平均マージ
- 4時間 38分
- マージ済み PR(30日)
- 926
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
coder/xum のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
🤖 fix: xum api exits 0 when a procedure returns success: false対応中かも @twotnguyen が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
awslabs/visual-asset-management-system#1278 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
mifi/lossless-cut#3213 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
plasma-umass/scalene#1123 ·
メンテナーはふだん 1 日以内に返信