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

Add slack notification for canary build failures #42394

Merged
merged 43 commits into from
Sep 27, 2024

Conversation

romsharon98
Copy link
Contributor

@romsharon98 romsharon98 commented Sep 21, 2024

closes: #42203

this PR should send message to this slack channel https://apache-airflow.slack.com/archives/C07MWFASWJ1 if the CI is failed.

after verification on the main branch we need to change the alerts to be sent to the internal-ci-cd channel.

image

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@romsharon98 romsharon98 changed the title add slack notifier Add slack notification for canary build failures Sep 22, 2024
@romsharon98 romsharon98 marked this pull request as ready for review September 25, 2024 06:02
@romsharon98 romsharon98 marked this pull request as draft September 25, 2024 06:09
@romsharon98 romsharon98 marked this pull request as ready for review September 25, 2024 20:48
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

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

Looks good - except small static checks. I assume we need to merge to test...
If not working we need a follow-up fix.
I propose to merge and see after fixing static checks.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
Copy link
Contributor

@shahar1 shahar1 left a comment

Choose a reason for hiding this comment

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

Nice!

@romsharon98 romsharon98 merged commit 307dc40 into main Sep 27, 2024
80 checks passed
@romsharon98 romsharon98 deleted the cicd/add-slack-notifications branch September 27, 2024 12:07
@jscheffl
Copy link
Contributor

Seems we have a bug in the logic... with my limited Github actions knowledge... I assume dependecy is missing and therefore it is skipped as no failure is made at point of the task is activated and then decides to skip.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inform when "canary" build fails
4 participants