Cancel misses a batch mid-promotion, letting a cancelled request reach speculation
メンテナーはふだん 2 日以内に返信
@burgulvedant がすでに取り組んでいます。
2026年10月31日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
Start by tracing dependency analysis around claimRequestsForBatch and the creating-to-created transition, then follow cancellation through markCancelling, findBatches, and cancelRequest. Check how speculation admits created batches and review the constraints from #817. Done means a cancelled request cannot reach speculation while created batches remain dependency-eligible; run the relevant tests for these transitions.
索引モデルが issue の本文から書いたものです。
説明
Problem
A request cancelled in the window between dependency analysis claiming it (validated → batched) and promoting its batch out of creating reaches speculation anyway. The result is a live batch carrying a request the user cancelled; it will build, and it can merge.
Interleaving
dependency analysis: request validated → batched (claimRequestsForBatch)
cancel: request batched → cancelling (markCancelling)
cancel: findBatches sees only a creating batch — not cancellable
cancel: request cancelling → cancelled (no applicable batch → cancelRequest)
dependency analysis: batch creating → created (batch-only compare-and-swap)
dependency analysis: publish to speculate
Why the existing guards miss it
- The halted-request check in dependency analysis runs before the claim.
- The claim's re-read and version check reject a cancel that lands before or during the claim, but this window opens after the claim succeeds.
creatingis not cancellable, so cancel's batch loop matches nothing and falls through tocancelRequest.- Neither speculate's admission of
createdbatches nor conclude checks for halted requests.
Found in review of #590. As of 6c050082 the code paths above are unchanged.
Constraint
From #817: a batch abandoned in creating must stay unreachable, and created must remain dependency-eligible.
- 主要言語
- Go
- スター
- 247
- フォーク
- 16
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 125
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
uber/submitqueue のほかの issue
-
[Bug] Land returns codes.Unknown instead of InvalidArgument for an unrecognized strategy対応中かも @DivyanshGarg380 が 14 日前に担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 22/100
uber/submitqueue#996 ·
メンテナーはふだん 2 日以内に返信
-
Batch-scoped DLQ reconciler fails requests that another live batch owns対応中かも @burgulvedant が 14 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
uber/submitqueue#826 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
uber/submitqueue#824 · コメント 2 件 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
uber/submitqueue#820 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
uber/submitqueue#819 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
uber/submitqueue の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
kubescape/node-agent#1099 ·
メンテナーはふだん 1 日以内に返信
-
import-export
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
genealogix/glx#1498 ·
メンテナーはふだん 2 日以内に返信
-
Docs: 2 broken linksオープンBug pulumi/pulumi-terraform-bridge R2 S2
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
pulumi/pulumi-terraform-bridge#3713 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ossf/pvtr-github-repo-scanner#539 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
goreleaser/goreleaser#7316 ·
メンテナーはふだん 1 日以内に返信