Repository navigation
fix(ci): a deploy-workflow change is a dev platform release too - #505
Merged
Merged
Conversation
`images.yml`'s path filter already treats a chart change as a release even when no image moves — "a change to either IS a dev platform release (§14.2)". The same argument covers `deploy.yml`, because that file carries the `helm upgrade` flags, and the executor allowlist lives in one of them (`--set executor.dagKinds=…`). It was missing, and the miss had a consequence. #498 flipped the pipeline kinds on, merged green, and changed NOTHING on the cluster: the commit touched only `.github/workflows/deploy.yml`, no path matched, no images run started, so no deploy fired. The live dispatcher still read `lake_maintain,lake_migrate` afterwards — checked, not assumed. It did land eventually, but by luck: an unrelated commit touching `rust/**` started a run, and a `workflow_run` deploy executes the DEFAULT BRANCH's workflow file, so it picked up the new flags on the way past. Absent that coincidence the change would have sat unapplied indefinitely, with a green PR and a merged commit saying otherwise. That is the "'Merged' did not mean 'deployed'" failure this workflow's own header documents at length, arriving through a different door — a path filter rather than a cancelled run. Adding the path costs nothing when no image moved: the image jobs skip and `deploy-dev` reuses the digests already in the registry, which is exactly what the `infra/k8s/**` entry above relies on. Co-Authored-By: Claude Fable 5 <[email protected]>
athvin
added a commit
that referenced
this pull request
Nov 6, 2026
Completes Phase 3's rollout: all eleven kinds run as per-attempt Kubernetes Jobs in the ci namespace. The value stays an explicit list for one more release so a revert is one line; Phase 4 deletes `executor.dagKinds` and the legacy arm together. ## Why the last seven arrive at once The previous comment said they would go on one at a time "as each is observed" on a cluster. That was the wrong unit of evidence. What a cluster run adds is not per-kind. It adds real scheduling, real projected-token verification, real EFS and a real image — properties of the PLATFORM, already proven live by `lake_maintain` (Phase 2, a real runner node) and by `run_all_full` as seven pods with seven distinct pod uids and a ledgered lake. Running `train` on a cluster would re-prove that platform, not `train`. The per-kind risk is the body and the work order, and the integration tier covers both for every kind — `pg_run_all_dag.rs` and `pg_run_all_pipeline.rs` stand up the REAL control plane (`er_server::app(AppState::with_pg(..))`) against a real DuckLake and run the real `exec-task` binary, so a mis-assembled order for any kind fails there rather than in the namespace. ## DAG_KINDS is set in two places The blue/green deploy sets it for the install AND for the cut-over. Both move here, and the comment now says they must agree: changing only the install would have had the cut-over quietly revert the allowlist it just widened — the same shape as the #505 bug, where a merged config change never reached the cluster. Caught by asserting the match count rather than by replacing blind. Verified: both lines are byte-identical, the escaping renders as ONE value (`helm template` shows all eleven in a single `ER_EXECUTOR_DAG_KINDS`), the workflow parses as YAML, and no "stay OFF" claim survives anywhere in the file. Co-authored-by: bmoore813 <[email protected]> Co-authored-by: Claude Fable 5 <[email protected]>
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.
images.yml's path filter already treats a chart change as a release even when no image moves — "a change to either IS a dev platform release (§14.2)". The same argument coversdeploy.yml, because that file carries thehelm upgradeflags, and the executor allowlist lives in one of them (--set executor.dagKinds=…).It was missing, and the miss had a consequence.
What happened
#498 flipped the pipeline kinds on. It merged green. It changed nothing on the cluster.
The commit touched only
.github/workflows/deploy.yml, no path in the filter matched, noimagesrun started, and so no deploy fired. Checked against the live cluster rather than assumed:The contrast in those two lines is the whole bug.
inFlightCapreached the cluster because it lives ininfra/k8s/— a filtered path.dagKindsdid not, because it lives in a--setflag in a file nothing watched.It did land eventually, but by luck: an unrelated commit touching
rust/**started a run, and aworkflow_rundeploy executes the default branch's workflow file, so it picked up the new flags on the way past. Absent that coincidence the change would have sat unapplied indefinitely, with a green PR and a merged commit both saying otherwise.Why this is the same bug as the one in the header
deploy.yml's own header documents, at length, how "'Merged' did not mean 'deployed'" — four merges in an hour producing three cancelled deploys,obs_up.shnever running despite its PR having merged, and "five defects in those unexecuted values survived review as a direct result".This is that failure arriving through a different door: a path filter rather than a cancelled run. Same symptom, same cost, and the same reason nobody notices — nothing reports a deploy that was never attempted.
Cost
None when no image moved. The image jobs skip and
deploy-devreuses the digests already in the registry — exactly what theinfra/k8s/**entry above already relies on.Note: this touches
.github/workflows/, so the merge bus will skip it (GITHUB_TOKENmay not push workflow changes) and it needs merging by hand.🤖 Generated with Claude Code