Repository navigation
fix(ci): the on-demand deploy deploys - #26
Merged
Merged
Conversation
A workflow_dispatch of CI (component, environment) planned the named component, but no component's profileRules named github-dispatch, so each stage and prod subscription fell back to its default profile: verify for Workers (build, typecheck, wrangler --dry-run) and plan-only for Terraform. The dispatch went green and deployed nothing (run 40819478009: cms on prod, a dry run). Every subscription that deploys or applies on github-push-main now does the same on github-dispatch: 42 rules across 21 components. Pull requests keep their verify and plan-only profiles. Checked with orun plan on simulated events: a dispatch of cms to stage plans the 13-step deploy (wire-live, deploy, secrets-live, smoke), supabase to prod plans Apply, and a pull request still plans the dry run and the plan. The intent's dispatch comment and the CMS runbook and operations guide say so (the setup token reaches the Worker by a dispatch of cms). Orun-Task: DSP-1 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013JuHbkZCjDrGgHdzCrCRqG
ruehowl
marked this pull request as ready for review
October 29, 2026 09:56
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.
Task DSP-1. The CI workflow's on-demand deploy (
workflow_dispatch, inputscomponentandenvironment) planned the named component but never deployed it. The same fix went to lumen-payload in sourceplane/lumen-payload#29.Why
No component's
profileRulesnamed thegithub-dispatchtrigger. So every stage and prod subscription fell back to its default profile:wrangler deploy --dry-run.Run 40819478009 (
cmsto prod) went green and was a dry run. Getting a newCMS_SETUP_TOKENonto the Worker then took a docs PR underapps/cms(#23).What changes
github-push-mainnow does the same ongithub-dispatch: 42 rules across 21 components, including the newcloudflare-r2-cms. Pull requests keep their verify and plan-only profiles.intent.yaml: the dispatch binding's comment explains the rule, and says a new component needs it too.cms, and that re-running an earlier run reuses its recorded result.Verified
With
orun planon simulated events, on this branch merged with currentmain:cms→ stage or prodwire-live,deploy,secrets-live,smokecloudflare-r2-cms→ stagesupabase→ prodcmsstill the dry run;supabasestill plan onlyAfter merge, a dispatch of
cmsto stage should show the deploy and smoke steps in its log.Note
This PR touches every component file. Its own CI verifies the whole fleet, and the merge redeploys every component to stage and prod with unchanged code. I'll merge it only after the media deploy (#25) has finished on
main.Generated by Claude Code