Repository navigation
Integrate desktop, HTML editor and session updates for v1.0.33 - #203
Merged
Merged
Conversation
An uncaught render error made React unmount the whole tree, leaving only the window background with no way to recover from inside the desktop shell. Wrap the application in a root error boundary that shows a one-line message and a reload button, and logs the error with its component stack. A failed dynamic import (the page outlived a frontend rebuild or a daemon upgrade, so its hashed chunk no longer exists) reloads the page once; a second failure within a minute stays on the fallback instead of looping.
A window that went blank after the machine had been left on used to stay blank until the application was restarted, and the log usually held nothing that told the causes apart. The Windows host now: - logs session lock/unlock, remote (dis)connect, suspend/resume and session end; - probes the page after an unlock, a remote reconnect, a resume or a renderer unresponsive report, and records visibility, frames drawn and the root child count. An empty root reloads the page; no reply ends the render process so the existing render-process-exited path reloads it (Reload does nothing for a renderer stuck in script); "alive but not drawing" is only logged; - restarts the shell when the WebView2 browser process exits, once the user is back at the window and never while the session is ending. The managed daemons keep running and are handed to the replacement, and automatic restarts are limited across processes; - adds a tray entry, "Reload Window", that does not depend on the page. docs/desktop-shell/webview-recovery.md lists the log lines and what was not exercised end to end.
A navigation the host cancels (an external link, a download) is reported as failed although the page never left; treating it as "no page" switched the probe off for good in a single-page application. Only log it. A probe script that fails mid-flight is no evidence of a hang either, and "no reply" now ends the render process, so abandon that round instead.
Merged
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.
Integrate local HTML file preview and visual editing, feedback for slow session and worktree creation, live follow-up suggestions, desktop renderer recovery, restricted headless prompts and tools, and Windows child-process handle isolation ahead of v1.0.33. The independent draft annotation feature in #202 remains in its own PR.
Local verification covers the full frontend test suite, the production web build, all seven strict repository source checks, and focused Windows runtime tests. The release is gated on the final verification results. The seed revision is unchanged from v1.0.32.
The slow-start UI was exercised in an isolated browser with 300 ms, 850 ms and five-second responses, failed requests and switching sessions. Windows recovery has a dedicated WebView2 smoke harness.