Session idle for 40 hours resumed on its own and ran 139 turns
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
- 30/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
The reproduction is clear but the cause is not: start by tracing the session lifecycle around the transition to idle, then where a server restart delivers notices to live sessions, and finally how a subagent-completion message is queued and delivered to its parent. The reporter does not know whether the restart notice or the seven-day-stale completion is the trigger, so both paths need reading. Done looks like a test that restarts a server with an idle session and a stale subagent completion and asserts no assistant turns run without a user message.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Session idle for 40 hours resumed on its own and ran 139 turns
What happens
A session that had reached idle resumed by itself after 40 hours and ran 139 assistant
turns over 40 minutes. There was no user message in that window. The user was working in a
different session and was not aware this one was running.
The first turn acted on a subagent completion from a subagent session that had finished
seven days earlier, after the user had explicitly stopped it.
Expected
A session that has reached idle has no work in progress. It should not resume without a
user message.
Steps
- Let a session reach
idle. - Leave it for a long period.
- Restart the server.
- The session resumes without a user message and runs turns.
Environment
- opencode v2.3.0
- macOS (Darwin)
- No plugins
Additional context
A restart notice was delivered to five sessions 5 seconds before this one resumed. Whether
the restart or the stale subagent completion was the proximate trigger is not known to me.
Whether delayed subagent-completion delivery resuming its parent is intended is also not
known. If it is, the seven-day delay and the 139 unattended turns are still the issue.
- Lingua principale
- TypeScript
- Stelle
- 227k
- Fork
- 30.7k
- Merge medio
- 3h 57m
- PR unite (30g)
- 484
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 anomalyco/opencode
-
[Site] Active section detection should respect scroll-margin-topForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaarea/web reproduced type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
anomalyco/opencode#65384 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/cli type/feature version/v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
anomalyco/opencode#65379 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Shell tool: no upper bound on the timeout a model can ask for, so one call can hold a turn for hoursApertaarea/core platform/linux type/feature version/v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anomalyco/opencode#65254 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
inference/go type/feature
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
anomalyco/opencode#65148 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area/providers type/feature version/v2
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
anomalyco/opencode#64845 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di anomalyco/opencode
Issue simili
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertacatalog provider provider-compatibility
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
lidge-jun/opencodex#9037 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
slavakurilyak/awesome-ai-agents#1005 ·
-
kind/bug triage/unresolved
Difficoltà 2/5 1-3 ore Idoneità per principianti 60/100
I maintainer di solito rispondono entro 1 giorno
-
effort:S P3 refactor
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
nightscout/nocturne#3735 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
wpilibsuite/systemcore-blocks-interface#641 ·
I maintainer di solito rispondono entro 2 giorni