Skip to content

Skip unmigratable orgs in the provider service split boot migration#1404

Merged
RhysSullivan merged 1 commit into
mainfrom
fix/service-split-boot-resilience
Jul 12, 2026
Merged

Skip unmigratable orgs in the provider service split boot migration#1404
RhysSullivan merged 1 commit into
mainfrom
fix/service-split-boot-resilience

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

The service split migration failed the whole run when one org's Google or Microsoft integration had no stored specHash, which blocked server startup after updating (#1403, #1407). Such orgs are now skipped with a warning and retried on a later run, and the other fixes make a boot failure visible: the daemon exits instead of hanging, and the CLI prints the underlying error instead of "Unknown error".

Fixes #1403
Fixes #1407

…udly

The boot-rail service split threw out of planMigration when a monolith
config had no stored specHash, which failed the whole data-migration run
and left the daemon wedged on startup with only 'Unknown error' on
stderr (#1403). Route that throw through the existing per-org hardError
path so the org is skipped, warned about, and retried on a later run,
and warn about skipped orgs even when no org is migratable.

A fatal CLI failure now exits the process instead of parking it with
the port unbound, so the desktop shows the crash screen instead of an
infinite 'Starting executor'. CLI error rendering walks the cause chain
so wrapper errors print the underlying message instead of 'Unknown
error'.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing ebabfb8 Commit Preview URL

Branch Preview URL
Jul 11 2026, 10:11 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 11, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud ebabfb8 Jul 11 2026, 10:12 AM

@github-actions

github-actions Bot commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Cloudflare preview

Torn down — the PR is closed.

@pkg-pr-new

pkg-pr-new Bot commented Jul 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@1404

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@1404

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@1404

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@1404

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@1404

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@1404

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@1404

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@1404

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@1404

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@1404

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@1404

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@1404

executor

npm i https://pkg.pr.new/executor@1404

commit: ebabfb8

@RhysSullivan RhysSullivan marked this pull request as ready for review July 12, 2026 04:17
@RhysSullivan RhysSullivan merged commit 5e0dd15 into main Jul 12, 2026
21 checks passed
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.

Self-host: boot migration crashes on pre-specHash integrations ("has no specHash; serving state cannot be migrated") [desktop] stuck loading

1 participant