🤖 MessageQueue: prove held sends cannot wait on an orphaned compaction decision (resume without compaction metadata)
I maintainer di solito rispondono entro 1 giorno
@ThomasK33 ci sta già lavorando.
Dal 30/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Follow-up from #5325 (MessageQueue F2: a send to an idle session that still holds queued work now queues behind that work, so it waits as long as the head's report decision).
Unproven gap
The investigated compaction-wait interleaving is safe: the raw stream-end listener creates the pending decision synchronously, before TaskService's handler, and the decision is kept until consumed. One path is not proven:
- The frontend resume path sends agentId
"compact"without compaction-request metadata. - A second compaction starts while TaskService's stream-end handler for the first holds the task's event lock.
- If that handler registers a pending wait that nothing resolves, the held queue entry, and every user send queued behind it since #5325, waits until the session is disposed.
Work
- Write a deterministic interleaving test for this sequence.
- If it reproduces, key pending-wait registration to the exact compaction request (see
waitForCompactionDecisioninsrc/node/services/turnCoordinator.tsand itsallowPendingcaller inagentSession.ts). - Separately, watch dogfood for idle workspaces whose queued sends never drain behind a report hold.
Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $32.71
- Lingua principale
- TypeScript
- Stelle
- 2k
- Fork
- 140
- Merge medio
- 3h 48m
- PR unite (30g)
- 902
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna 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 coder/xum
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
bug investigation
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
approved backlog
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
approved backlog
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
approved backlog
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster no-stale P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openclaw/openclaw#168089 · 2 commenti · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
✨ enhancement needs-discussion
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferenceForse già presa @alok-108 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/playwright#43263 ·
I maintainer di solito rispondono entro 1 giorno
-
area:studio type:security
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement good first issue Stellar Wave trivial
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
StellarCanary/ProtocolCanary-Action#331 ·
I maintainer di solito rispondono entro 1 giorno