Skip to content

Deploy the builder Workers of a Hosted installation in parallel - #263

Merged
tnkuehne merged 1 commit into
mainfrom
build/parallel-builders
Nov 21, 2026
Merged

tnkuehne merged 1 commit into
mainfrom
build/parallel-builders

Conversation

@tnkuehne

@tnkuehne tnkuehne commented Nov 21, 2026 •

Copy link
Copy Markdown
Contributor

tools/deploy-hosted.ts deployed the app builder and documenter Workers one after the other. Each takes about 5–6 seconds, and they are independent: both upload the same builder bundle under different names.

They now deploy concurrently. The control plane still deploys after both, because it binds them. If one deployment fails, the tool waits for the other to finish before it reports the failure, so cleanup does not remove the configuration files a running Wrangler process still reads.

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

The PR appears safe to merge.

Summary

Runs the Hosted builder and documenter deployments in parallel.

  • The Hosted deploy tool sends both builder Workers at the same time.

No actionable issues found.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Initialization complete] --> B[Deploy builder]
  A --> C[Deploy documenter]
  B --> D[Wait for both results]
  C --> D
  D --> E{Both succeeded?}
  E -->|Yes| F[Deploy control plane]
  E -->|No| G[Throw deployment error]
  F --> H[Close database and remove temporary files]
  G --> H
Loading

Reviews (1) · Last reviewed commit: "Deploy the builder Workers of a Hosted i..." · Reviewed by Greptile

The app builder and documenter Workers upload the same bundle under
different names and do not depend on each other. Deploying them at
the same time shortens a Hosted deployment. The control plane still
deploys after both, because it binds them.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 21, 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
widefleet-docs a55fdcf Nov 21 2026, 01:30 PM

@tnkuehne
tnkuehne merged commit 0a25846 into main Nov 21, 2026
17 checks passed
@tnkuehne
tnkuehne deleted the build/parallel-builders branch November 21, 2026 23:59
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