[DX-3611] notify channel if memory leak test fails#21877
Open
[DX-3611] notify channel if memory leak test fails#21877
Conversation
Comment on lines
+149
to
+194
| name: Notify about test Failure | ||
| if: failure() | ||
| needs: [soak] | ||
| environment: | ||
| name: integration | ||
| deployment: false | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Send slack notification for failed migration tests | ||
| id: send-slack-notification | ||
| uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0 | ||
| with: | ||
| errors: "true" | ||
| method: chat.postMessage | ||
| token: ${{ secrets.QA_SLACK_API_KEY }} | ||
| payload: | | ||
| { | ||
| "channel": "C0117GGJB6Y", | ||
| "text": "CRE Memory Leak Test Failed. Investigation is required.", | ||
| "blocks": [ | ||
| { | ||
| "type": "section", | ||
| "text": { | ||
| "type": "mrkdwn", | ||
| "text": "*:rotating_light: CRE Memory Leak Test Failed. Investigation is required. :rotating_light:*" | ||
| } | ||
| }, | ||
| { | ||
| "type": "section", | ||
| "text": { | ||
| "type": "mrkdwn", | ||
| "text": "Alerting <@U033CGL3CDT>, CRE Memory Leak Test failed for commit <${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}|${{ github.sha }}> on run ID <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.run_id }}>. Please investigate." | ||
| } | ||
| }, | ||
| { | ||
| "type": "divider" | ||
| }, | ||
| { | ||
| "type": "section", | ||
| "text": { | ||
| "type": "mrkdwn", | ||
| "text": "Check the Docker logs and the alloc.pprof file to investigate the issue." | ||
| } | ||
| } | ||
| ] | ||
| } |
Contributor
|
✅ No conflicts with other open PRs targeting |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a Slack notification path to the CRE PoR memory leak soak workflow so a channel/user is alerted when the soak test run fails.
Changes:
- Set workflow-level
permissions: contents: read. - Add a
notify-test-failurejob that posts a Slack message when the workflow fails.
skudasov
reviewed
Apr 7, 2026
0c2c81f to
a38f5a0
Compare
skudasov
previously approved these changes
Apr 7, 2026
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failed run: https://github.com/smartcontractkit/chainlink/actions/runs/24081524838
