[Bug] Substrate actor can remain suspended while a request waits for reachability
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 28/100
Línea de trabajo
Start at the wait loop in EnsureSessionActor, on release/v0.10.x at commit 16e5363, and compare the path for an actor already SUSPENDED at the first check (which resumes) with the path where it turns SUSPENDING then SUSPENDED mid-poll (which only polls until the context expires and never calls ResumeActor). Read the session lifecycle code on main too, since the reporter notes it differs. Rebuild their reproducer with a fake ate-api and a local HTTP health endpoint, short deadline, and treat both cases resuming as done.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
On v0.10.0-beta6, a second request to the same SandboxAgent session can time out if it arrives while the previous turn is being checkpointed. The actor remains suspended while the controller waits for it to become reachable.
The same wait logic remains on release/v0.10.x at commit 16e5363. I reproduced it there with a deterministic test using a fake ate-api and a local HTTP health endpoint:
- Call
EnsureSessionActorfor an existing session. - Have the actor report
SUSPENDING, thenSUSPENDED(or initiallyRUNNING, thenSUSPENDINGandSUSPENDED). - The call polls the suspended actor until its context expires. It does not call
ResumeActor.
An actor already suspended at the initial check resumes normally. I expected the request to resume the actor and proceed in both cases. The test uses a short deadline to make the failure visible.
This affects our existing beta6 deployment. I understand Substrate has since been disabled in the official 0.10.x charts. The current main has a different session lifecycle implementation. In a controlled test with PostgreSQL and a fake actor, I did not reproduce this timeout when a send arrived during a successful suspension; this is not an end-to-end Substrate test.
AI assistance was used for the investigation and reproducer.
- Lenguaje dominante
- Go
- Estrellas
- 4.5k
- Forks
- 937
- Merge medio
- 1 d 10 h
- PR fusionados (30 d)
- 150
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de kagent-dev/kagent
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kagent-dev/kagent#3792 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
kagent-dev/kagent#3790 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
kagent-dev/kagent#3789 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
kagent-dev/kagent#3787 ·
Los mantenedores suelen responder en 1 día
-
[BUG] Python memory summarization fails for Gemini models: the request has no model namePosiblemente ocupada @BahaaMattar la tomó hace 6 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
kagent-dev/kagent#3710 ·
Los mantenedores suelen responder en 1 día
Todos los issues de kagent-dev/kagent
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
-
Screenshot missing in READMEAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
Add CybeDefendAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 66/100
slavakurilyak/awesome-ai-agents#1031 ·