Bug: update-kustomize-tag skipped when CI tests fail #405
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#405
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
Discovered during validation of #389 (PR #397). Pipeline #415 had a pre-existing test failure (enum assertion), which caused the entire pipeline to fail. The
update-kustomize-tagstep was skipped even thoughbuild-and-pushsucceeded. Result: image was pushed to Harbor but never propagated to ArgoCD. Same class of bug fixed in pal-e-platform PR #275.Repo
forgejo_admin/basketball-apiWhat Broke
When any step in the pipeline fails (e.g.,
test), Woodpecker marks the pipeline as failed and skips remaining steps — even ifupdate-kustomize-tagonly depends onbuild-and-push(which succeeded). The tag update is silently skipped, so the new image never reaches ArgoCD. Merged code is not deployed.This caused PR #397 (payment recovery feature) to be merged and pass CI image build, but never deployed to production.
Repro Steps
testfails,build-and-pushsucceeds,update-kustomize-tagis skippedExpected Behavior
update-kustomize-tagruns wheneverbuild-and-pushsucceeds, regardless of whethertestpassed or failed.Environment
Woodpecker CI, basketball-api pipeline, push to main.
File Targets
.woodpecker.yaml— addstatus: [success, failure]to theupdate-kustomize-tagstep'swhenclause, so it runs as long asbuild-and-pushcompleted (regardless of test step outcome).Acceptance Criteria
update-kustomize-tagstep includesstatus: [success, failure]in itswhenclausebuild-and-pushTest Expectations
python3 -c "import yaml; yaml.safe_load(open('.woodpecker.yaml'))")Constraints
scripts/woodpecker-update-tag-step.yamlfeedback_yaml_parse_validation: agent MUST parse-validate the YAML before committingChecklist
Related
16b96f5never deployed)Scope Review: READY
Review note:
review-901-2026-04-08Scope is solid. 1-file YAML change, 3 verifiable ACs, matches pal-e-platform PR #275 pattern. File target verified —
.woodpecker.yamllines 60-83 confirmed missingstatus: [success, failure].Blast radius discovered: westside-app, pal-e-docs, and pal-e-app have the same bug. Recommend separate issues for each.