[feat] Session state: expose the active run identity
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
Direzione di ricerca
Start from SessionStateNotice ({sessionId, branchId, running, stopping}) and the attach running snapshot, then trace where run:started and run:ended assign their run id. Decide how the owner exposes the active run id per branch, either as an optional field or a query method. Done means a client attaching mid-run gets the same id that later terminal events carry, and absent ids still work with the existing placeholder behaviour.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
session.state and the attach running snapshot report only running/stopping. A client that attaches after run:started, or that sees an owner-reported running Session before the first session.event, has no stable run identity. Desktop currently keeps a placeholder row so sends stay locked, but it cannot match a later terminal by identity and must avoid inventing an owner:<sessionId> id.
Context
SessionStateNoticeis{sessionId, branchId, running, stopping}.run:started/run:endedcarry a real run id, but those frames are not guaranteed before the first state read.- Desktop pets/stop controls need a stable control identity per active run.
Scope
Add an optional owner run/turn identity (for example runId or turnId) to session.state and the attach running snapshot, or provide an equivalent owner method that returns the active run per branch. The identity must be stable for the lifetime of the run and match the id used by run:started / run:ended.
Acceptance
- A client attaching during an active run receives the same run identity from state/attach that later terminal events name.
- A state-only client can match a terminal without guessing.
- No client has to synthesize a run id or persist a second run table.
- Absent identity remains valid for older/unknown states; clients keep the current fail-closed placeholder behavior.
Boundaries
This is a protocol/owner change only. Desktop keeps its current placeholder when the id is absent and removes it once the identity is available.
Related
- arcships/dim#647 (run state projection)
- Lingua principale
- Rust
- Stelle
- 584
- Fork
- 42
- Merge medio
- 9h 41m
- PR unite (30g)
- 929
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 arcships/dim
-
P2
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
arcships/dim#2294 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
P2 roadmap
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
-
P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
arcships/dim#2293 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
core enhancement P2
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
arcships/dim#2291 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug P2
Difficoltà 3/5 Mezza giornata Idoneità per principianti 45/100
arcships/dim#2286 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di arcships/dim
Issue simili
-
[M09] Silence parser misreads ffmpeg times in scientific notation (6.25e-05 → 6.25 s)Forse già presa @G-darshan-32 l’ha presa oggi. Apertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
clipy-recorder/clipy#164 · 1 commento ·
-
p2 ready-mac
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
quickwit-oss/tantivy#3299 ·
I maintainer di solito rispondono entro 1 giorno
-
`stream enable` fails with "already enabled" on every fresh session since streaming became always-onAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
vercel-labs/agent-browser#2797 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
witchesofthehill/manabrew#1309 ·
I maintainer di solito rispondono entro 1 giorno