Skip to content

Integrate desktop, HTML editor and session updates for v1.0.33 - #203

Merged
tmoonlight merged 6 commits into
masterfrom
codex/release-1.0.33-integration
Nov 19, 2026
Merged

tmoonlight merged 6 commits into
masterfrom
codex/release-1.0.33-integration

Conversation

@tmoonlight

Copy link
Copy Markdown
Owner

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.

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.
Copilot AI balanced review requested due to automatic review settings November 19, 2026 03:12

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@tmoonlight
tmoonlight merged commit ac4749e into master Nov 19, 2026
5 checks passed
@tmoonlight tmoonlight mentioned this pull request Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants