Skip to content

Diagnostics — trace collection #856

Closed

Description

@samanthamsong

Epic: «Ship & update the node with confidence» (#838)
Backlog Doc ID: #32 · Priority: P2 · Area: release

Description
Collect diagnostic traces for troubleshooting.

Definition of done
Traces can be collected on demand.

Part of the «Ship & update the node with confidence» tracking issue (#838).

Activity

  1. clawsweeper commented on Jun 26, 2026

    @clawsweeper

    Thanks for the context here. I did a careful shell check against current main, and this is already implemented.

    Close as implemented: current main already exposes on-demand diagnostics collection through the Diagnostics page, and the same bundle surface is present in shipped release content; the open diagnostics hardening PR is broader than this issue's minimal trace-collection DoD.

    I found the merged PR that appears to have closed this: #427: Diagnostics page: friendlier reorganization of the Debug surface.

    So I’m closing this as already implemented rather than keeping a duplicate issue open.

    Review details

    Best possible solution:

    Keep the existing Diagnostics page bundle as the completed on-demand trace-collection path, while letting the broader sanitized export hardening continue separately if maintainers want that extra privacy boundary.

    Do we have a high-confidence way to reproduce the issue?

    Not applicable: this is a feature request rather than a reproducible bug. Source verification shows current main exposes the on-demand diagnostics bundle path directly from the Diagnostics page.

    Is this the best way to solve the issue?

    Yes: the current implementation is a narrow user-initiated Diagnostics page action with preview/copy/save behavior and sanitized support text. Broader log export and PII hardening remain a separate PR path, not a blocker for this issue's minimal DoD.

    Security review:

    Security review: This non-PR issue does not include a patch or a concrete security-sensitive defect; PII scrubbing and upload are tracked separately.

    AGENTS.md: found, but no applicable review policy affected this item.

    What I checked:

    Likely related people:

    • bkudiess: History shows the task-oriented Diagnostics page and preview-then-share diagnostics bundle were introduced in the diagnostics page rebuild commit. (role: diagnostics UX introducer; confidence: high; commits: 84ceee19c03d; files: src/OpenClaw.Tray.WinUI/Pages/DebugPage.xaml, src/OpenClaw.Tray.WinUI/Pages/DebugPage.xaml.cs, src/OpenClaw.Tray.WinUI/Windows/DiagnosticsBundleDialog.xaml.cs)
    • Ranjesh: Recent history shows Ranjesh applied the tray UX stack and added/maintained Diagnostics page actions including gateway doctor wiring. (role: recent diagnostics UX integrator; confidence: medium; commits: 429be9ba9368, cff1033b3bb3; files: src/OpenClaw.Tray.WinUI/Pages/DebugPage.xaml, src/OpenClaw.Tray.WinUI/Pages/DebugPage.xaml.cs, src/OpenClaw.Tray.WinUI/Services/GatewayService.cs)
    • Scott Hanselman: History ties privacy-safe diagnostics JSONL and support debug entrypoints to this author, adjacent to the current trace-collection surface. (role: diagnostics logging contributor; confidence: medium; commits: bd0121478fb3, 18b43a50e8b8; files: src/OpenClaw.Tray.WinUI/Services/DiagnosticsJsonlService.cs, src/OpenClaw.Tray.WinUI/App.xaml.cs)

    Codex review notes: model internal, reasoning high; reviewed against 1c377cb64b65; fix evidence: merged PR #427, release v0.6.0-alpha.1, commit 84ceee19c03d.

  2. added
    P2
    impact:other
    on Jun 26, 2026
  3. locked as resolved and limited conversation to collaborators on Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2impact:other

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions