Skip to content

fix(deploy): add readiness attempts config/flag and surface last probe reply - #1036

Open
SHANNWD wants to merge 1 commit into
voidzero-dev:mainfrom
SHANNWD:fix/cloudflare-staged-readiness-1025
Open

SHANNWD wants to merge 1 commit into
voidzero-dev:mainfrom
SHANNWD:fix/cloudflare-staged-readiness-1025

Conversation

@SHANNWD

@SHANNWD SHANNWD commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Closes #1025

  • Exposes deploy.cloudflare.readinessAttempts in void.config.ts / void.json and --readiness-attempts <count> on void deploy --platform cloudflare (with CLI overriding config) and forwards it to activateCloudflareVersion.
  • Updates probeReadiness in @void/deploy-cloudflare to record the last observed readiness reply (HTTP <status>, ready, versionId, and expected versionId when checking version metadata) or error message, attaches it to readiness-failed / bootstrap-readiness-failed / atomic-readiness-failed, and renders diagnostic in formatCloudflareActivationError for staged readiness-failed.

Verification

  • vp fmt and vp lint on all modified files (0 warnings, 0 errors)
  • vp run --filter ./packages/deploy-cloudflare --filter ./packages/void typecheck
  • vp test run packages/deploy-cloudflare/test/unit/version.test.ts packages/void/test/unit/config.test.ts packages/void/test/unit/cli-help.test.ts packages/void/test/unit/deploy-args.test.ts
  • vp test run packages/void/test/unit/cloudflare-deploy.test.ts -t "Cloudflare activation diagnostics"

This branch has not been deployed

No deployments
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.

Cloudflare staged deploy: readiness fails on a healthy candidate when the version override routes to the previous version, and attempts can't be raised

1 participant