Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: improve slack notifications #5575

Merged
merged 38 commits into from
Dec 4, 2024
Merged

test: improve slack notifications #5575

merged 38 commits into from
Dec 4, 2024

Conversation

midleman
Copy link
Contributor

@midleman midleman commented Dec 2, 2024

QA Notes

This PR introduces the use of a custom GitHub Action to enhance our Slack notifications for test statuses, offering improved context. Currently, all workflows are configured such that notifications are triggered only if any job in the workflow fails.

Some key settings:
notify_on: always, failure
include_jobs: true, false, on-failure
include_jobs_time: true, false (handy for hiding on long job names, etc)

Confirmed it works with matrix jobs (tested both pass and fail scenarios):
Screenshot 2024-12-04 at 6 01 08 AM

And of course just standard workflows:
Screenshot 2024-12-04 at 5 57 58 AM

@midleman midleman force-pushed the mi/slack-wflow-status branch from 7e23bd3 to 37f82d2 Compare December 3, 2024 22:05
@midleman midleman changed the title WIP swap reporter test: improve slack notifications Dec 3, 2024
@midleman midleman force-pushed the mi/slack-wflow-status branch from 1da785c to 34a364e Compare December 4, 2024 00:10
@midleman midleman force-pushed the mi/slack-wflow-status branch from fddffcf to 85caea4 Compare December 4, 2024 12:09
Copy link
Contributor

@isabelizimm isabelizimm left a comment

Choose a reason for hiding this comment

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

Python stuff looks great! Thank you for giving us these QOL updates 😸

@midleman midleman marked this pull request as ready for review December 4, 2024 14:18
Copy link
Contributor

@testlabauto testlabauto left a comment

Choose a reason for hiding this comment

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

LGTM!

@midleman midleman merged commit c7661ce into main Dec 4, 2024
5 checks passed
@midleman midleman deleted the mi/slack-wflow-status branch December 4, 2024 14:54
@github-actions github-actions bot locked and limited conversation to collaborators Dec 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants