Skip to content

feat: Cloudflare deployment readiness (v0.12.0) - #4

Merged
ruehowl merged 1 commit into
mainfrom
feat/cloudflare-deployment-readiness
May 2, 2026
Merged

ruehowl merged 1 commit into
mainfrom
feat/cloudflare-deployment-readiness

Conversation

@ruehowl

@ruehowl ruehowl commented May 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add preDeployCommand, migrationCommand, and smokeCommand inputs to cloudflare-worker-turbo and cloudflare-worker compositions for live deployment support (D1 migrations, resource provisioning, post-deploy verification)
  • Accept wrangler.toml alongside wrangler.jsonc in cloudflare-worker-turbo (already fixed in cloudflare-worker in v0.11.0)
  • Add wranglerConfig input for explicit config file specification
  • Add clear CI annotations (DRY-RUN, SKIPPED, LIVE DEPLOY, DEPLOY SUCCESS) to all Cloudflare deploy steps to prevent false-green silent skips
  • Validate Cloudflare credentials explicitly before attempting live deploy
  • Add smokeCommand input to cloudflare-pages-turbo for post-deploy verification
  • Add docs/production-deploys.md documenting the --changed zero-job trap and recommended patterns for reliable production deployments
  • Bump stack version to 0.12.0

Motivation

Consumer repos like sourceplane/orun-backend that use orun run --changed on production pushes are getting 0 components x 3 envs -> 0 jobs after squash merges — resulting in green CI with zero deployments. Additionally, Workers requiring D1 migrations, R2, and Durable Objects had no composition-level support for pre-deploy resource provisioning.

Test plan

  • All 11 composition fixtures pass verify-composition.sh
  • generate-readme.sh --check passes
  • score.sh --check passes
  • CI verify.yml workflow passes (composition fixtures + full catalog verify)

…tions

- Add preDeployCommand, migrationCommand, and smokeCommand inputs to
  cloudflare-worker-turbo and cloudflare-worker compositions
- Accept wrangler.toml alongside wrangler.jsonc in cloudflare-worker-turbo
  (already fixed in cloudflare-worker)
- Add wranglerConfig input for explicit config file specification
- Add clear CI annotations (DRY-RUN, SKIPPED, LIVE DEPLOY, DEPLOY SUCCESS)
  to all Cloudflare deploy steps to prevent false-green silent skips
- Validate Cloudflare credentials explicitly before attempting deploy
- Add smokeCommand input to cloudflare-pages-turbo for post-deploy verification
- Add docs/production-deploys.md documenting the --changed zero-job trap
  and recommended patterns for reliable production deployments
- Bump stack version to 0.12.0
- Regenerate registry/index.json
@ruehowl
ruehowl merged commit ac34b75 into main May 2, 2026
14 checks passed
@ruehowl
ruehowl deleted the feat/cloudflare-deployment-readiness branch May 2, 2026 14:01
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.

2 participants