Cancel misses a batch mid-promotion, letting a cancelled request reach speculation
I maintainer di solito rispondono entro 2 giorni
@burgulvedant ci sta già lavorando.
Dal 31/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go
- Ambito
- distributed-systems
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 247
- Fork
- 16
- Merge medio
- 2g 1h
- PR unite (30g)
- 125
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di uber/submitqueue
-
[Bug] Land returns codes.Unknown instead of InvalidArgument for an unrecognized strategyForse già presa @DivyanshGarg380 l’ha presa 14 giorni fa. Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 22/100
uber/submitqueue#996 ·
I maintainer di solito rispondono entro 2 giorni
-
Batch-scoped DLQ reconciler fails requests that another live batch ownsForse già presa @burgulvedant l’ha presa 14 giorni fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
uber/submitqueue#826 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
uber/submitqueue#824 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
uber/submitqueue#820 ·
I maintainer di solito rispondono entro 2 giorni
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
uber/submitqueue#819 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
Tutte le issue di uber/submitqueue
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
kubescape/node-agent#1099 ·
I maintainer di solito rispondono entro 1 giorno
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
genealogix/glx#1498 ·
I maintainer di solito rispondono entro 2 giorni
-
Docs: 2 broken linksApertaBug pulumi/pulumi-terraform-bridge R2 S2
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
pulumi/pulumi-terraform-bridge#3713 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
ossf/pvtr-github-repo-scanner#539 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
goreleaser/goreleaser#7316 ·
I maintainer di solito rispondono entro 1 giorno