mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 20:06:10 +00:00
* fix(window): native reloads and window close wait for the durable session checkpoint Menu, keyboard (including Force Reload), DevTools and in-app reloads now ask the renderer to run the same checkpoint preparation as the in-app restart, including the main-side durable flush and its retry-then-degrade budget. A renderer that reports a failed save keeps its document, matching the in-app reload. A renderer that never answers is reloaded after a bounded deadline (quit's frozen-renderer bound plus the checkpoint flush deadline), as before. Rich and landing-page window close wait for the staged checkpoint to reach disk and cancel when it fails. * fix(window): name a failed close checkpoint and close on the second failure A durable-write failure now reports its reason in the canceled-quit toast, and a repeated close after it proceeds as before the wait existed, so a broken disk cannot trap quit. * fix(window): close waits for a pending reload checkpoint and a renderer exit cannot strand quit A close requested while a reload's durable checkpoint runs now waits for that verdict and replaces the reload. A renderer that exits after acknowledging a quit close no longer leaves quit waiting for a confirmation that cannot come. * fix(window): settle reload/close races found in review A prepare request that fails to send no longer leaves later reloads skipping the checkpoint. Any close a dying renderer was answering now finishes, and every cancel clears it. A reload no longer discards a quit close the renderer is still answering, and a reload replaced by a close restores the page's ordinary unload guards. In-app reload failures show the same toast as menu reloads. * fix(window): track one close per window that quit only upgrades Stale cancels are recognised from the acknowledgement order, the custom X gets its own request id, a reload retires an ordinary close, and a close deferred behind a reload bypasses a renderer that died meanwhile. * fix(window): an overlapping close joins the pending checkpoint instead of counting its failure twice * fix(window): a frozen renderer cannot hold Force Reload for the full save deadline, and an unreceived close no longer destroys the window on a later crash * fix(window): a tracked quit always finishes when its renderer dies; an ordinary close counts as received once any of its requests was acknowledged