Log X11 reconnect failures for hardware diagnosis #13

Merged
piotr merged 1 commits from issue-2-x11-reconnect-logging into main 2026-10-02 10:26:15 +02:00
Collaborator

Follow-up to merged #9 for the hardware reconnect-loop finding in #2.

Summary

  • emit one structured diagnostic for each failed X11 open and broken event session
  • include target, layer, event, underlying error, and scheduled retry delay
  • keep cancellation silent and preserve retry containment so temporary X11 failures do not restart the UART/root supervisor
  • wire diagnostics through the current multi-layer display architecture from main

Validation

  • focused reconnect-diagnostic and command-format tests
  • go test -race ./internal/display ./cmd/groundstation-display
  • go test ./...
  • go vet ./... and gofmt -l
  • ARM64 builds of both binaries
  • git diff --check and added-lines secrets scan

Physical Orange Pi journal collection remains deployment-side verification.

Follow-up to merged #9 for the hardware reconnect-loop finding in #2. ## Summary - emit one structured diagnostic for each failed X11 open and broken event session - include target, layer, event, underlying error, and scheduled retry delay - keep cancellation silent and preserve retry containment so temporary X11 failures do not restart the UART/root supervisor - wire diagnostics through the current multi-layer display architecture from `main` ## Validation - focused reconnect-diagnostic and command-format tests - `go test -race ./internal/display ./cmd/groundstation-display` - `go test ./...` - `go vet ./...` and `gofmt -l` - ARM64 builds of both binaries - `git diff --check` and added-lines secrets scan Physical Orange Pi journal collection remains deployment-side verification.
grzesiu self-assigned this 2026-10-02 10:13:08 +02:00
grzesiu added 1 commit 2026-10-02 10:25:09 +02:00
grzesiu force-pushed issue-2-x11-reconnect-logging from baf36fd8b6 to 2ced44b47b 2026-10-02 10:25:09 +02:00 Compare
piotr merged commit 2ced44b47b into main 2026-10-02 10:26:15 +02:00
piotr deleted branch issue-2-x11-reconnect-logging 2026-10-02 10:26:16 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: piotr/groundstation#13