Discussion: expose structured agent-log sink loss diagnostics
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- observability
Línea de trabajo
Start in apps/node-services/src/agent/observability/agent-log-file-sink.ts, where the dropped and failed counters are closure-private, and in apps/node-services/src/agent/main.ts, where the flush/close boolean is discarded on shutdown. Diagnostics reads from apps/desktop/src/main/diagnostics.ts. This is a discussion: the first step is for maintainers to confirm a real consumer and its contract. Done means that decision is recorded, not that code is written.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The agent file-backed log sink already handles bounded failures and emits agent_log.file_loss warnings (worker_unavailable, write_failed, buffer_full, drain_timeout). Its dropped/failed counters are closure-private, and the production shutdown path discards the flush/close boolean. Diagnostics currently selects .json/.log, not .ndjson. Warnings may still be visible in collected logs; the gap considered here is a structured loss summary, not missing logging.
Would maintainers want that summary exposed through an existing diagnostics read path? I would first like to confirm the real consumer and its contract. I would not add an unused accessor, change /readyz to not-ready for observability loss, introduce new persistence or OTLP/SDK plumbing, or change redaction.
This does not take over #490's model failure-reason work or #492/WHI-768's diagnostics collection. If the existing warning is sufficient, no code change is needed.
Evidence: sink, shutdown, diagnostics.
AI-assisted code-review proposal. No new-feature reproduction or user-facing defect claim. The earlier local baseline exercised the existing log pipeline only; it does not validate this proposed feature.
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.8k
- Forks
- 360
- Merge medio
- 8 h 10 min
- PR fusionados (30 d)
- 540
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 simplexai-labs/linger
-
bug
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
simplexai-labs/linger#904 ·
Los mantenedores suelen responder en 1 día
-
Local model JIT load waits ~22 s for a concurrency probe that always ends unmeasured and is never cachedPosiblemente ocupada @oldwinter53 la tomó hoy. Abiertobug
simplexai-labs/linger#896 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
feat(agents): let an Agent choose runtime, model and reasoning effort when it creates an AgentAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
simplexai-labs/linger#888 ·
Los mantenedores suelen responder en 1 día
-
Hand-patches to the protected runtime are silently discarded on upgrade, with no supported overrideAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
simplexai-labs/linger#883 ·
Los mantenedores suelen responder en 1 día
-
Daily memory report silently never runs: 5-minute step ceiling plus a stuck in-memory #scheduled setAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
simplexai-labs/linger#881 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de simplexai-labs/linger
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
danielmiessler/LifeOS#3028 ·
Los mantenedores suelen responder en 5 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Koenkk/zigbee2mqtt#33855 ·
Los mantenedores suelen responder en 1 día