Repository navigation
feat(app): add bounded daemon crash recovery - #221
Merged
youssofal merged 2 commits intoAug 17, 2026
Merged
Conversation
Owner
|
Review queued for the next cycle. This matches the slice accepted in #202 (opt-in, three bounded retries, visible circuit breaker, in-memory recipes); the process-family reaping is the part I will verify first. |
youssofal
marked this pull request as ready for review
August 17, 2026 12:00
youssofal
added a commit
that referenced
this pull request
Sep 1, 2026
…restart Validated tonight: Swift suite green on the head. Merging. Closes #202. Thanks for keeping it app-side clean.
youssofal
added a commit
that referenced
this pull request
Sep 1, 2026
…restart Validated tonight: Swift suite green on the head. Merging. Closes #202. Thanks for keeping it app-side clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the narrow app-managed supervision slice accepted in #202.
An already-running daemon adopted from a previous app session is intentionally shown as unprotected. The user must start a fresh app-managed daemon before automatic recovery can own it safely.
Scope
This does not claim to fix the underlying Metal out-of-memory crash, persist daemon logs, or add memory telemetry. Those are separate parts of #202 and need their own investigation and validation.
Verification
CPU-only / no model weights:
git diff --checkDaemonSupervisorTests: 35 passedTerminalHandoffLeaseTests: 12 passedMTPLXAppsuite: 593 tests, 1 skipped, 0 failuresThe final diff received independent Terra and Sol review approval before commit.
Closes the app-managed restart slice of #202; leaves the crash root cause, persistent logging, and memory telemetry open.