You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
generate: the required-input check skips external-block deploys and the standalone rollback workflow #710
generate-workflow checks that every input a deploy callback requires has a source (validateRequiredInputs). Two lanes aren't covered, so a callee that requires an input they can't supply passes generation and then fails when GitHub dispatches the call:
External-block deploys. For external-block callees, the check refuses only image_tag / image_digest. External deploy jobs pass no operator inputs, so a callee that requires one (for example cluster) generates a call that is missing it.
The standalone rollback workflow (cascade-rollback.yaml) has no required-input check at all. Promote refuses a callee that requires image_tag when it emits rollback jobs. For the same manifest, the standalone rollback generates the call without it.
Expected
Every lane that calls a deploy callback goes through the same required-input check, and generation fails, naming the job and the input, when no source exists. This matches what promote already does for image_tag (#705).
Found in the review of #706. Relates to: #706, #664
One more gap of the same kind, found while fixing #711's promote-retries e2e scenario.
When the manifest wires an input (for example message) to a local deploy workflow that doesn't declare it, the declared-inputs gate drops the input from the with: block silently. Nothing is printed at generate time. The generate-time warnings added in #711 cover only the dry_run opt-in and the rollback sha.
Concretely: declaredCallbackInputs (internal/generate/hotfix.go) returns the callee's declared set, and writePerEnvWithInputs (internal/generate/promote.go) and the other deploy lanes skip any manifest input outside that set. A typo in the callee's input name, or a callee that hasn't been updated yet, therefore loses the value with no signal.
Expected: a generate-time warning naming the deploy, the callee and each dropped input.
Activity
reka18 commentedon Dec 4, 2026
One more gap of the same kind, found while fixing #711's promote-retries e2e scenario.
When the manifest wires an input (for example
message) to a local deploy workflow that doesn't declare it, the declared-inputs gate drops the input from thewith:block silently. Nothing is printed at generate time. The generate-time warnings added in #711 cover only thedry_runopt-in and the rollback sha.Concretely:
declaredCallbackInputs(internal/generate/hotfix.go) returns the callee's declared set, andwritePerEnvWithInputs(internal/generate/promote.go) and the other deploy lanes skip any manifest input outside that set. A typo in the callee's input name, or a callee that hasn't been updated yet, therefore loses the value with no signal.Expected: a generate-time warning naming the deploy, the callee and each dropped input.