no disposition observability for notifications (queued/surfaced/dropped + reason)
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- github, python
- 领域
- cli, observability
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Python
- 星标
- 11.5k
- 派生
- 2k
- 平均合并
- 6 小时 34 分钟
- 30 天内合并 PR
- 3
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-cli 的其他 Issue
-
area:plugins
难度 2/5 1-3 小时 新手友好度 75/100
github/copilot-cli#5567 ·
-
难度 1/5 1-3 小时 新手友好度 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncation未关闭area:tools
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#5476 ·
-
triage
难度 1/5 1 小时以内 新手友好度 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
难度 1/5 1 小时以内 新手友好度 74/100
github/copilot-cli#5340 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
fidelity
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
backlog
难度 2/5 1-3 小时 新手友好度 72/100
sagemathinc/sagebrush#3434 ·
维护者通常 1 天内回复
-
marketing
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
documentation good first issue help wanted
难度 2/5 1-3 小时 新手友好度 78/100
wuisabel-gif/MemWhale#576 ·
维护者通常 1 天内回复
-
Status: Triage Suggestion
难度 2/5 1-3 小时 新手友好度 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
维护者通常 1 天内回复