GeezerVison is showing github.com — ci(decision-events): add cf release workflow (#9335) by dezren39 · Pull Request #12566 · developing-today/code
Conversation
dezren39
commented
Nov 22, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
- Replace the worker's manual Wrangler deploy instructions with a protected, manual GitHub Actions release workflow using
cf workers versions create and optional cf workers deployments create promotion.
- Pin
[email protected], compatible Wrangler 4.163.0, and Node 24.22; add a cloudflare.config.ts matching the existing D1 and Durable Object bindings.
- Add offline guards for Build Output parity, exact Worker/D1 target identity, deployable version selection, and preserve the current D1 ID, DO class/storage, and Wrangler
v1 migration declaration.
- Disable
npm run deploy as a manual Wrangler path. The workflow does not run automatically on pushes and promotion defaults off.
Verification
npm ci
bun test (15 passing)
npm run typecheck
npm run test:release
cf workers versions create --dry-run with Node 24.22, followed by npm run check:build-output
actionlint via .github/scripts/check-workflows.sh passes for the new workflow.
The repo-wide CI policy agreement script still reports an unrelated pre-existing PR-derived trigger in .github/workflows/note-submission-pr.yml; I left that file unchanged.
Release prerequisites
The decision-events-production GitHub Environment is not currently present. Before dispatching, configure it with a protected reviewer rule, account variable CLOUDFLARE_ACCOUNT_ID, and least-privilege secret CLOUDFLARE_API_TOKEN. The workflow performs read-only checks for the existing Worker and D1 ID before uploading. It does not create resources, apply SQL/migrations, submit events, change producer settings, or modify custom routes/domains. Producer cutover remains a separate action.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 22, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Warning
Review limit reached
You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.
Next included review available in 57 minutes.
Check out review usage here.
View limit details
-
Limit details: You’ve used the included review currently available.
Learn how review limits work.
Review configuration:
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
4e5d2081-5a0f-4278-838d-bb335dcf1316
Commits
-
Reviewing files that changed from the base of the PR and between 1d6ca73 and 11e61b5.
Files ignored due to path filters: 2
-
pm-stack/decision-events-worker/bun.lock is excluded by !**/*.lock
pm-stack/decision-events-worker/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 11
-
.github/workflows/decision-events-worker-release.yml
pm-stack/decision-events-worker/.gitignore
pm-stack/decision-events-worker/README.md
pm-stack/decision-events-worker/cloudflare.config.ts
pm-stack/decision-events-worker/package.json
pm-stack/decision-events-worker/scripts/check-build-output.mjs
pm-stack/decision-events-worker/scripts/check-target.mjs
pm-stack/decision-events-worker/scripts/resolve-deployable-version.mjs
pm-stack/decision-events-worker/scripts/test-version-resolver.mjs
pm-stack/decision-events-worker/src/index.ts
pm-stack/decision-events-worker/wrangler.toml
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 22, 2026
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|