no disposition observability for notifications (queued/surfaced/dropped + reason)

Abierto
#5,596 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, python

Línea de trabajo

Start by tracing how background-task completion notifications are sent, queued, and surfaced, then inspect the hook payload and event logging paths. The issue names no files or tests, so first locate those entry points and check the related reports #5508, #5370, and #4755 for context. Done means exposing joinable notification ids and disposition events, and documenting retention semantics.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:agents area:plugins

Build: 1.0.115.

Repro / observation: long-lived sessions rely on background-task completion notifications to wake idle turns. Across a week of instrumented operation (1070 events journaled on one machine via our own hook, plus cross-machine ledger comparisons), every wake was accounted for — but historical incidents exist where a notification was marked seen by the runtime and never surfaced to the model turn (external symptom identical to a dead consumer; our forensic example involved a 20-minute gap that self-resolved, and a documented 43-minute class). See also #5508 (notification held 60s while another background task runs) and #5370 (agent output withheld until next user turn).

Actual: no API/hook/log exposes per-notification disposition (queued / surfaced-at / dropped-with-reason). External tooling can only infer liveness indirectly (heartbeat ledgers), which cannot distinguish "notification lost", "held by queue", or "turn consumed it without acting".

Expected: expose disposition: (a) include a monotonic notification id in hook payloads so ledgers can join send↔surface, (b) emit a NotificationDiscarded-style event (reason: queue-retention, session-state, etc.), (c) document retention semantics. This turns a class of "silent wedge" bug reports (incl. #5508/#5370/#4755) into measurable, joinable evidence for both users and the team.

Lenguaje dominante
Python
Estrellas
11.5k
Forks
2k
Merge medio
6 h 34 min
PR fusionados (30 d)
3

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/copilot-cli

Todos los issues de github/copilot-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.