Skip to content

Prevent duplicate smoke test notifications - #626

Merged
camposandro merged 1 commit into
mainfrom
slack-notifications
Oct 27, 2026
Merged

camposandro merged 1 commit into
mainfrom
slack-notifications

Conversation

@camposandro

Copy link
Copy Markdown
Contributor

Send a single Slack / email notification per failing smoke test run:

  • The Slack and email steps ran inside the build matrix, so each failing Python version sent a separate notification.
  • The Slack step used webhook-type: webhook-trigger with an incoming webhook, which was causing the messages to be posted multiple times (for each version in the matrix).

The Slack message changes were tested in hats (run #40555254905).

Checklist

  • This PR is meant for the lincc-frameworks/python-project-template repo and not a downstream one instead.
  • This change is linked to an open issue
  • This change includes integration testing, or is small enough to be covered by existing tests

@camposandro
camposandro requested a review from drewoldag October 27, 2026 19:28
@camposandro camposandro self-assigned this Oct 27, 2026

@drewoldag drewoldag left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Seems reasonable to me

@camposandro
camposandro merged commit d1e4370 into main Oct 27, 2026
8 checks passed
@camposandro
camposandro deleted the slack-notifications branch October 27, 2026 20:11
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.

2 participants