fix(engine): bounded blocking sync push on exit #138
Reference in New Issue
Block a user
Delete Branch "fix/exit-push-bounded"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Review finding M3: the exit push was a detached task that process teardown almost always killed — the final session's sync silently never happened.
push_on_exitnow blocks the app's final frame for at most 2s (tokio::time::timeout); timeout/errors are logged and skipped, local persistence stays the durable source of truth.Gates: workspace clippy
--all-targets -D warningsclean, full test suite green (10 sync tests unchanged).🤖 Generated with Claude Code