Skip to content

follow-up(desktop): close diagnostics coverage and default-Host consistency gaps after #3427 #3463

Closed

Description

@M4n5ter
English

Context

#3427 established one context-aware, user-controlled diagnostics pipeline for on-demand capture, operation failures, Renderer recovery, and pre-Renderer native dialogs. Its review identified two non-blocking P2 gaps, while the PR deliberately left crash-survivability and demonstrated inline-only coverage gaps outside its clipboard-only, no-storage scope.

The two review gaps are now closed by #3465, #3478, and #3489. The remaining work must stay split by evidence owner and lifecycle rather than grow the live diagnostics pipeline into a general crash-reporting subsystem.

Completed follow-ups

1. Guard default-Host projection completion and ordering

Sources: #3427 (comment) and follow-up review threads on #3465/#3478.

2. Bound the browser-only diagnostics fallback

Source: #3427 (comment).

Remaining work

3. Close evidence gaps that outlive or bypass the current process surface

Constraints

  • Keep evidence user-controlled, bounded, and redacted.
  • Do not add automatic upload, telemetry, raw/unbounded export, or fallback to an unrelated Runtime Host.
  • Reuse the diagnostics authority established by feat(desktop): make diagnostics context-aware and available on demand #3427; avoid a second report pipeline.
  • Evaluate the combined design, not only each local fix, so the follow-ups do not accumulate into a larger diagnostics subsystem than supported paths require.

AI use

OpenAI Codex assisted with consolidating the review follow-ups and maintaining this tracking issue. The human contributor remains responsible for the scope and decisions.

简体中文

背景

#3427 为主动采集、操作失败、Renderer 恢复界面和 Renderer 启动前的原生弹窗建立了一条上下文感知、由用户主动控制的统一诊断链路。Review 留下了两个非阻塞 P2,同时有意将需要跨进程存活的崩溃证据和经证实的内联错误覆盖盲区排除在当前“仅写入剪贴板、不新增存储”的范围之外。

两个 review 问题现已由 #3465、#3478 和 #3489 闭合。剩余工作必须按证据 owner 与生命周期拆分,不能把现有实时诊断链路继续膨胀成通用崩溃上报系统。

已完成的后续工作

1. 保证默认 Host projection 的完成时 authority 与刷新顺序

来源:#3427 (comment) 以及 #3465/#3478 的后续 review thread。

2. 限制纯浏览器诊断 fallback 的大小

来源:https://github.com/apache/maka/pull/3427#discussion_r3835245019。

剩余工作

3. 补足当前进程界面消失后或绕过现有入口的证据盲区

约束

  • 证据必须由用户主动控制、保持有界并经过脱敏。
  • 不增加自动上传、遥测、原始或无界导出,也不回退到无关 Runtime Host。
  • 复用 feat(desktop): make diagnostics context-aware and available on demand #3427 建立的诊断 authority,不形成第二条报告链路。
  • 按整体方案而不是逐个局部修复评估复杂度,避免 follow-up 累积成超出真实支持路径所需的诊断子系统。

AI 使用

OpenAI Codex 协助汇总 review follow-up 并维护本 tracking issue;范围和决策仍由贡献者本人负责。

Activity

  1. self-assigned this
    on Aug 22, 2026
  2. added
    enhancement
    on Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions