Skip to content

feat(debug): comprehensive debug logging across all layers#132

Merged
larkly merged 1 commit intomainfrom
feat/debug-logging-coverage
Apr 1, 2026
Merged

feat(debug): comprehensive debug logging across all layers#132
larkly merged 1 commit intomainfrom
feat/debug-logging-coverage

Conversation

@larkly
Copy link
Copy Markdown
Owner

@larkly larkly commented Apr 1, 2026

Summary

  • Add shared.Debugf() coverage to the API layer (compute, network, image, volume, loadbalancer, cloud) — previously at 0%
  • Add debug logging to system infrastructure (SSH, self-update, config, quota) and app core (connect, routing)
  • Cover 22 previously uncovered UI views (pickers, detail views, create forms, modals)
  • 554 debug log lines across 45 files using consistent [tag] verb resource params pattern with start/success/error triplets
  • Zero logic changes — only shared.Debugf() calls and necessary imports added

Test plan

  • go build ./... passes (verified)
  • go vet ./... passes (verified)
  • Run lazystack --debug and exercise all resource types
  • Inspect ~/.cache/lazystack/debug.log for correct lifecycle logging
  • Verify no log flooding from render paths (render.go, statusbar, columns.go were skipped)

Cover API layer (compute, network, image, volume, LB, cloud), system
infrastructure (SSH, self-update, config, quota), app core (connect,
routing), and 22 previously uncovered UI views with shared.Debugf()
calls using consistent start/success/error triplets and module tags.
@larkly larkly merged commit fb17d06 into main Apr 1, 2026
3 checks passed
@larkly larkly deleted the feat/debug-logging-coverage branch April 1, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant