Skip to content

Restart daemon tasks on failure#73

Merged
leynos merged 22 commits intomainfrom
codex/add-error-handling-and-task-restarts-for-daemon
Aug 22, 2025
Merged

Restart daemon tasks on failure#73
leynos merged 22 commits intomainfrom
codex/add-error-handling-and-task-restarts-for-daemon

Conversation

@leynos
Copy link
Copy Markdown
Owner

@leynos leynos commented Aug 19, 2025

Summary

  • Supervise listener and worker tasks and restart them on failure to keep daemon alive
  • Document supervision strategy in architecture design

Testing

  • make fmt
  • make lint
  • make test
  • make markdownlint

closes #7


https://chatgpt.com/codex/tasks/task_e_68a4a757786c832288519a94b9511adf

Summary by Sourcery

Implement supervision of listener and worker tasks to automatically restart them on failure

New Features:

  • Supervise and restart listener and worker daemon tasks upon unexpected exit

Documentation:

  • Document the task supervision strategy in the architecture design

Tests:

  • Add tests to verify supervisor restarts failed listener and worker tasks

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve daemon resilience: handle task failures for listener and worker

1 participant