Skip to content

Add automatic crash diagnostics and session log retention - #383

Merged
thomas9120 merged 1 commit into
mainfrom
beta
Sep 16, 2026
Merged

thomas9120 merged 1 commit into
mainfrom
beta

Conversation

@thomas9120

Copy link
Copy Markdown
Owner

Summary

  • Add early, idempotent diagnostics initialization for both server entrypoints.
  • Capture stderr, Python exceptions, worker failures, and native fault tracebacks in timestamped logs.
  • Preserve console output and continue startup when logging is unavailable.
  • Retain the 10 newest diagnostic logs and document troubleshooting guidance.

Testing

  • Added comprehensive diagnostics tests covering startup failures, exception capture, console behavior, retention, idempotency, filesystem failures, and native crashes.
  • Backend test coverage updated to document the new suite.

@thomas9120
thomas9120 merged commit 43896dd into main Sep 16, 2026
5 checks passed
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