Repository navigation
feat: Cloudflare deployment readiness (v0.12.0) - #4
Merged
Merged
Conversation
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
preDeployCommand,migrationCommand, andsmokeCommandinputs tocloudflare-worker-turboandcloudflare-workercompositions for live deployment support (D1 migrations, resource provisioning, post-deploy verification)wrangler.tomlalongsidewrangler.jsoncincloudflare-worker-turbo(already fixed incloudflare-workerin v0.11.0)wranglerConfiginput for explicit config file specificationDRY-RUN,SKIPPED,LIVE DEPLOY,DEPLOY SUCCESS) to all Cloudflare deploy steps to prevent false-green silent skipssmokeCommandinput tocloudflare-pages-turbofor post-deploy verificationdocs/production-deploys.mddocumenting the--changedzero-job trap and recommended patterns for reliable production deploymentsMotivation
Consumer repos like
sourceplane/orun-backendthat useorun run --changedon production pushes are getting0 components x 3 envs -> 0 jobsafter 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
verify-composition.shgenerate-readme.sh --checkpassesscore.sh --checkpassesverify.ymlworkflow passes (composition fixtures + full catalog verify)