fix(desktop): surface backend startup failures#932
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
Desktop startup needs to keep long-running migrations open-ended when a real start lock is present, but it should not wait forever on status probes that cannot prove a writable backend is coming. This keeps read-only daemon reports behind active startup locks, caps repeated unavailable status checks with a reportable crash window, and preserves the default Tauri artifact layout except where Windows ARM64 needs an explicit target to match the sidecar.
roborev: Combined Review (
|
Long archive migrations intentionally keep the daemon startup state open-ended, but polling serve status every 125ms for that entire period adds avoidable sidecar process churn while the backend is busy. Track poll backoff separately from consecutive unavailable failures so Starting and Unhealthy states back off to the normal maximum interval without losing the bounded failure path for unusable status probes.
roborev: Combined Review (
|
serve status can emit benign stderr diagnostics while stdout still reports that the daemon startup lock is active. Treat the startup marker as a status line instead of requiring the entire combined probe output to match exactly, so long migrations remain in the open-ended startup path instead of becoming an unusable backend failure.
roborev: Combined Review (
|
Desktop startup now renders reportable failure details in the Tauri loading window when the bundled backend fails to launch, errors, or exits before readiness. It also keeps waiting through long daemon migrations and full resyncs instead of treating a five-minute startup as failed, while still reporting clearly absent or incompatible daemons.