Skip to content

fix(ci): require both docker manifests before Slack notify#22877

Merged
HashWrangler merged 1 commit into
developfrom
fix/slack-notify-require-both-images
Jun 18, 2026
Merged

fix(ci): require both docker manifests before Slack notify#22877
HashWrangler merged 1 commit into
developfrom
fix/slack-notify-require-both-images

Conversation

@HashWrangler

@HashWrangler HashWrangler commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Tighten slack-notify in build-publish.yml so it runs only when both docker-core and docker-ccip manifest jobs succeed
  • Prevents incomplete Slack announcements when one manifest flakes and the other succeeds (seen on canary v2.990.5-beta.0 and public chainlink runs)

Jira: RANE-4695 (private release improvements). Complements RANE-4683 manifest hardening but is intentionally a separate, chainlink-only change.

Context

Manifest jobs can fail intermittently on cosign verify ("no signatures found") while the other image publishes successfully. The previous if used OR logic, so Slack still posted with only one image line.

Test plan

  • Merge and verify next tag build posts both chainlink + ccip image lines, or no Slack post if either manifest fails
  • Confirm trigger-post-build-publish still gates on docker-core only (unchanged)

Related: smartcontractkit/.github#1577 (cosign verify retry — addresses root flake in shared action)

Partial Slack posts occurred when only core or ccip manifest succeeded.
Wait for both docker-core and docker-ccip before announcing images.
@HashWrangler HashWrangler requested a review from a team as a code owner June 17, 2026 16:49
@github-actions

Copy link
Copy Markdown
Contributor

👋 HashWrangler, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Risk Rating: LOW

Tightens the slack-notify job gating in the release build/publish workflow so Slack notifications only run when both Docker manifest jobs (docker-core and docker-ccip) succeed, preventing partial announcements when one manifest flakes.

Changes:

  • Update slack-notify job-level if: condition from OR to AND across docker-core and docker-ccip results.

Scrupulous human review areas:

  • .github/workflows/build-publish.yml job dependency behavior: confirm the intended behavior when one manifest job is failure/cancelled/skipped (Slack should not post) and that downstream trigger-post-build-publish behavior remains acceptable when slack-notify is skipped (it will pass an empty slack_thread_ts).

@HashWrangler HashWrangler marked this pull request as ready for review June 18, 2026 16:07
@HashWrangler HashWrangler added this pull request to the merge queue Jun 18, 2026
Merged via the queue into develop with commit f630ff2 Jun 18, 2026
69 checks passed
@HashWrangler HashWrangler deleted the fix/slack-notify-require-both-images branch June 18, 2026 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants