Add Slack notification for potential regression issues#6865
Add Slack notification for potential regression issues#6865
Conversation
|
| SLACK_WEBHOOK_URL: ${{ secrets.CI_SLACK_WEBHOOK_URL }} | ||
| ISSUE_URL: ${{ github.event.issue.html_url }} | ||
| ISSUE_NUM: ${{ github.event.issue.number }} | ||
| ISSUE_TITLE: ${{ github.event.issue.title }} |
There was a problem hiding this comment.
Can we add a part of the body of the Github issue as well?
Maybe only the first 100 words or something so we can assess the issue without clicking through to Github.
There was a problem hiding this comment.
That's a good idea - I considered it too. My primary intention of this notification is to prompt us to triage the issue as soon as possible, so clicking through to the issue is the intended action. Then looking at past regression issues, the titles were quite descriptive, so I felt adding body content could make the channel messy. Additonally, it also may contain markdown, code blocks, stack traces that may not render cleanly in Slack. Happy to revisit if we find the title alone isn't enough, WDYT?



Motivation and Context
Add a Slack notification when a potential regression issue is filed on the repo. This gives the team immediate visibility into regression reports without having to manually monitor GitHub issues.
Modifications
Added a
Notify Slackstep to the existingissue-regression-labelerworkflow to notify the team channel when a potential regression issue is opened.openedevents (not edits) to avoid duplicate notificationsCI_SLACK_WEBHOOK_URLrepo secret (already configured)Testing
Validated end-to-end in a private test repo.
Types of changes
Checklist
mvn installsucceedsscripts/new-changescript and following the instructions. Commit the new file created by the script in.changes/next-releasewith your changes.License