Context Agent can stop claiming tasks while /trigger still returns 200
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 57/100
Línea de trabajo
Start by reading background_thread_task() and next_task(), the polling entry points named in the issue. Check how the background poller is started and what happens when task acquisition stalls or exits; the report does not identify a test file. Done means the poller is supervised, task acquisition is bounded, and unexpected stops are logged, with processing able to continue after a transient backend failure.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I'm running Context Agent 2.9.1 with Nextcloud 35 on Kubernetes.
I ran into a situation where new tasks stayed SCHEDULED for over 10 minutes, even though /trigger returned HTTP 200 and the ExApp pod remained healthy. The agent wasn't logging any new task pickups or obvious polling errors.
Looking at background_thread_task(), the poller is started without supervision and next_task() has no explicit timeout. If that coroutine exits or gets stuck, the HTTP server can apparently remain healthy.
I tried a local patch with a supervised polling loop, a timeout around next_task(), and some basic lifecycle logging. I also tested temporarily disconnecting my LocalAI backend: the model request failed as expected, but the agent continued processing new requests after connectivity was restored, without restarting the pod.
I can't confirm that a LocalAI failure caused the original stuck poller, but the current polling implementation seems worth hardening.
Would it make sense to add supervision, bounded task acquisition, and better logging when the background poller unexpectedly stops?
- Lenguaje dominante
- Python
- Estrellas
- 26
- Forks
- 20
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 4
Preparar el entorno
- Incluye un Dockerfile o un 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 nextcloud/context_agent
-
enhancement priority normal
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
nextcloud/context_agent#270 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
nextcloud/context_agent#242 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Add endpoint to create new CollectivesPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
nextcloud/context_agent#240 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
find_person_in_contacts fails with Niquests content argument and cannot serialize vCard AddressAbiertobug
Dificultad 2/5 Medio día Aptitud para principiantes 76/100
nextcloud/context_agent#217 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Failed to schedule taskAbiertobug
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
nextcloud/context_agent#271 ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/context_agent
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
cellrishi-code/claude-skills-atlas#165 ·
Los mantenedores suelen responder en 1 día
-
bug confirmed issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
open-webui/open-webui#32635 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Filters: ?field:ne=null matches NULL rows instead of non-NULL onesPosiblemente ocupada @rshdhere la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Netflix/metaflow-service#504 ·
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
gke-labs/kube-agents#3394 ·
Los mantenedores suelen responder en 1 día
-
A2A audit timestamps end in +00:00Z (invalid ISO 8601)Posiblemente ocupada @O1sumitkumar la tomó hoy. Abiertobug good first issue help wanted python
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día