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

Send Slack notification for UI/Unit test failures #20793

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

jostnes
Copy link
Contributor

@jostnes jostnes commented Jun 2, 2023

Description

Same changes as This PR updates the a8c-ci-toolkit to v2.17.0 to get the updated version of annotate_test_failures utility. With this change, any test failures (UI and Unit) on merges to trunk or release/* branches will send a slack notification to build-and-ship channel.

I also removed Buildkite's Slack notification for UI and Unit test steps that was previously added via #19181 and #19120 as this new notification will replace that.

Similar PR for WCiOS: woocommerce/woocommerce-ios#9853

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jun 2, 2023

Jetpack Alpha📲 You can test the changes from this Pull Request in Jetpack Alpha by scanning the QR code below to install the corresponding build.
App NameJetpack Alpha Jetpack Alpha
ConfigurationRelease-Alpha
Build Numberpr20793-62594e4
Version22.5
Bundle IDcom.jetpack.alpha
Commit62594e4
App Center Buildjetpack-installable-builds #4868
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@wpmobilebot
Copy link
Contributor

wpmobilebot commented Jun 2, 2023

WordPress Alpha📲 You can test the changes from this Pull Request in WordPress Alpha by scanning the QR code below to install the corresponding build.
App NameWordPress Alpha WordPress Alpha
ConfigurationRelease-Alpha
Build Numberpr20793-62594e4
Version22.5
Bundle IDorg.wordpress.alpha
Commit62594e4
App Center BuildWPiOS - One-Offs #5838
Automatticians: You can use our internal self-serve MC tool to give yourself access to App Center if needed.

@jostnes jostnes marked this pull request as ready for review June 2, 2023 07:04
@@ -73,10 +73,6 @@ steps:
notify:
- github_commit_status:
context: "Unit Tests"
- slack:
channels:
- "#mobile-apps-tests-notif"
Copy link
Contributor

Choose a reason for hiding this comment

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

Just checking that it was intentional (and not a copy/paste typo) that you changed the channel used in the call to annotate_test_failures and now send the notification to #build-and-ship… while previously it was sent to this other channel?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for checking! yup this is intentional. speaking with @pachlava and @tiagomar, we decided to post this on #build-and-ship since that's the channel we're monitoring now - better to have it in one channel rather than multiple. with this, we would immediately know if a build is failing because of tests or other steps from this notification

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tooling Build, Release, and Validation Tools [Type] Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants