Skip to content

Recover Editor after re-approving a removed installation - #2037

Merged
callumalpass merged 2 commits into
mainfrom
editor-reauth-recovery
Nov 28, 2026
Merged

callumalpass merged 2 commits into
mainfrom
editor-reauth-recovery

Conversation

@callumalpass

Copy link
Copy Markdown
Member

Refs #1912

Changes

The SDK reports application_readiness_unavailable when a native open has no settled readiness result. Editor mapped that diagnostic to a fatal invariant, so a later readiness update could not reopen the workspace after access was restored.

Editor now asks the SDK to recheck the current connection once and shows the existing opening screen while it does. If the recheck fails, the collection gate still offers Reload.

Verification

  • The new Chromium test reproduced the restart screen before the patch. With the patch, two open Editor tabs go through a simulated removal and approval, and the second tab saves an edit to the replica without navigation or a page error. All 13 tests in the regression file passed.
  • Editor rpnpm tests (1,351 Vitest and 15 script tests), typecheck, and build passed.
  • SDK typecheck and build, 3,093 Vitest tests with the generated client WASM, and 65 Node tests with the built trust verifier passed.
  • Every selected pnpm ci:local gate passed.

Production approval and sync still need a live retest.

@callumalpass
callumalpass added this pull request to the merge queue Nov 28, 2026
Merged via the queue into main with commit 7e10ce4 Nov 28, 2026
32 checks passed
@callumalpass
callumalpass deleted the editor-reauth-recovery branch November 28, 2026 13:04
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.

1 participant