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
deploy.yml: a mixed infra/k8s + image-input commit always produces one spurious red deploy #817
ci-backlogCI/platform engineering work, verified against the workflowsprunedClosed in the 2026-11-26 board prune; not needed for the source-independent tool
workflow_run on images completing — the normal path, gated on conclusion == 'success';
push on main filtered to infra/k8s/** — for platform-only changes, which images never builds for.
A commit touching bothinfra/k8s/** and image inputs (rust/, entities/, frontend/) fires the push path immediately, before images has built. It then finds no image tagged for the SHA and correctly refuses to roll the newest ECR digest:
the newest digest in ECR was built from e7ccbe1c…, and these paths changed between it and 70f31c54. Refusing to deploy rather than reporting success on a stale image.
The guard is right and should stay. The problem is that it leaves a failed deploy run on main that is pure noise, superseded minutes later by the workflow_run deploy once images succeeds. Observed on #645's merge 70f31c54: push-path deploy failed 21:37:06, workflow_run deploy succeeded 21:41:45, same SHA.
Two costs: it burns a /land-pr attribution pass every time, and it trains readers to ignore a red deploy on main.
Secondary: the resolver's own notice is false in this case — it prints "no image tagged …, which is expected: this commit touched only infra/k8s, so nothing was built" when the commit changed 40 files under rust/ and entities/.
What to do
Have the push path skip when the same SHA also changed image inputs — i.e. when images is going to run — and let workflow_run own it. The rust-detect.sh/detect-paths.sh helpers already classify these paths.
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled pruned and can be reopened later.
ci-backlogCI/platform engineering work, verified against the workflowsprunedClosed in the 2026-11-26 board prune; not needed for the source-independent tool
Activity
athvin commentedon Nov 27, 2026
Closed in the second 2026-11-26 board prune. The board now targets only the API that customers use to build their own deduplication tooling. Everything else is bonus, and this card is one of those. It's labelled
prunedand can be reopened later.