Files
pikasTech-unidesk/docs/MDTODO/web-observe-runtime-reliability.md
T
Codex ff417de32c
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success
Pipelines as Code CI / platform-infra-gitea-nc01- Success
Pipelines as Code CI / unidesk-host- Success
docs: record web observe memory relief
2026-07-12 12:25:55 +02:00

22 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Web Observe 运行时可靠性
- 范围:Web observe runner、浏览器进程树、终态回收、资源压力可见性与 YAML 控制的生命周期上限。
- 配置真相:沿用 Web probe owning scenario/YAML 与 `config/unidesk-cli.yaml#gc`,不建立旁路回收 authority。
## R1 [in_progress]
解决 Web observe 终态未回收造成 observer/Chrome 长驻与 swap 压力:沿用受控 observe/GC authority,先完成有界临时缓解,再实现 YAML 控制的生命周期、自停和压力可见性,最终通过自动发布链验收。上下文:https://github.com/pikasTech/unidesk/issues/1842,完成任务后将详细报告写入[任务报告](./details/web-observe-runtime-reliability/R1_Task_Report.md)。
### R1.1 [completed]
调查并临时缓解:https://github.com/pikasTech/unidesk/issues/1842;用 manifest、heartbeat、PID、open fd/cwd 和调用方终态判定 stale,先 plan,再走正式 observe stop/force-stop 或 GC run,记录回收前后内存、swap、进程树与健康证据,完成任务后将详细报告写入[任务报告](./details/web-observe-runtime-reliability/R1.1_Task_Report.md)。
### R1.2 [in_progress]
实现长期修复:https://github.com/pikasTech/unidesk/issues/1842;补齐所有调用方终态 stoprunner 从 owning YAML 获取最大运行时长/max samples/artifact cap 并自停,GC snapshot/plan/status 披露 active/stale、Chrome RSS、last cleanup 与 stop failure,完成任务后将详细报告写入[任务报告](./details/web-observe-runtime-reliability/R1.2_Task_Report.md)。
### R1.3
测试与验收:https://github.com/pikasTech/unidesk/issues/1842;覆盖生命周期、stale/protected 分类和失败路径,提交独立 PR;合并后只等待自动 CI/CD 发布链,使用正式入口验证 observer/Chrome 退出、内存压力缓解且健康运行面不受扰动,完成任务后将详细报告写入[任务报告](./details/web-observe-runtime-reliability/R1.3_Task_Report.md)。