Skip to content

fix(platform): keep deploys open when an upgrade is refused before it starts - #961

Merged
cpojer merged 5 commits into
mainfrom
fix/platform-upgrade-preflight-state
Nov 28, 2026
Merged

cpojer merged 5 commits into
mainfrom
fix/platform-upgrade-preflight-state

Conversation

@hyfdev

@hyfdev hyfdev commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

A refused void platform upgrade could mark a healthy platform failed before any Workers or database schema changed. That closed deployment admission, so subsequent deploys failed with HTTP 409.

Upgrade now checks runtime and database compatibility, secret update authority, and current Access configuration under the lifecycle lock before writing upgrade progress.

A preflight refusal preserves the existing checkpoint. For an already interrupted operation, the CLI prints the platform status command. It also prints the resume command when the current upgrade matches the saved runtime. Failures after an upgrade starts still use the existing recovery path.

Fixes #929

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://fix-platform-upgrade-preflight-state-void-cloud.voidzero-docs.workers.dev (commit 06dbb54)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://2fd51575-void-cloud.voidzero-docs.workers.dev 06dbb54 2026-11-28T11:09:31.427Z Visit the dashboard ↗
  • Build: In progress 🔵

View logs ↗
25ee3ad 2026-11-28T11:06:40.418Z View logs ↗
  • Build: In progress 🔵

View logs ↗
0ed461e 2026-11-28T11:05:26.116Z View logs ↗
  • Build: In progress 🔵

View logs ↗
d414851 2026-11-28T11:04:15.342Z View logs ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0af695bb-void-cloud.voidzero-docs.workers.dev 47e3391 2026-11-28T11:03:18.607Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://26fb87fc-void-cloud.voidzero-docs.workers.dev 3cbe92b 2026-11-28T10:36:26.639Z Visit the dashboard ↗

@hyfdev
hyfdev marked this pull request as ready for review November 28, 2026 10:48
Copilot AI balanced review requested due to automatic review settings November 28, 2026 10:48

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.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@cpojer
cpojer force-pushed the fix/platform-upgrade-preflight-state branch from 25ee3ad to 06dbb54 Compare November 28, 2026 11:07

@cpojer cpojer left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@cpojer
cpojer merged commit 93a6197 into main Nov 28, 2026
21 checks passed
@cpojer
cpojer deleted the fix/platform-upgrade-preflight-state branch November 28, 2026 11:12
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.

platform: failed pre-migration rollbackSafeFrom check leaves installation failed and closes deployment admission (HTTP 409)

3 participants