From 5737098f75dc872b352e297b8211d0c2b8e8299b Mon Sep 17 00:00:00 2001 From: Ajay Balasa Date: Wed, 27 May 2026 14:23:32 -0700 Subject: [PATCH 1/3] ci: Add notification step for MBridge downstream test results in CI workflow --- .github/workflows/cicd-main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/cicd-main.yml b/.github/workflows/cicd-main.yml index 318226fd87d..99a57c8f9e8 100644 --- a/.github/workflows/cicd-main.yml +++ b/.github/workflows/cicd-main.yml @@ -487,6 +487,25 @@ jobs: cd megatron-bridge git push origin --delete ${{ env.MBRIDGE_BRANCH_NAME }} + cicd-mbridge-testing-notify: + runs-on: ubuntu-latest + needs: [cicd-mbridge-testing] + # Notify on both success and failure of the MBridge downstream tests. + # Skipped/cancelled runs are intentionally not announced. + if: | + always() + && github.repository == 'NVIDIA/Megatron-LM' + && (needs.cicd-mbridge-testing.result == 'success' || needs.cicd-mbridge-testing.result == 'failure') + steps: + - name: Send Slack alert + uses: NVIDIA-NeMo/FW-CI-templates/.github/actions/send-slack-alert@main + with: + webhook: ${{ secrets.SLACK_WH_MLM_MB_ALERTS }} + message: | + ${{ needs.cicd-mbridge-testing.result == 'success' && ':white_check_mark: *MBridge downstream tests passed*' || ':rotating_light: *MBridge downstream tests failed*' }} + • Trigger: `${{ github.event_name }}` on `${{ github.ref_name }}` + • Run: + cicd-compute-build-matrix: runs-on: ubuntu-latest needs: [is-not-external-contributor] From fafaa37bf22172649c0f79b6aff5905f1a8aa139 Mon Sep 17 00:00:00 2001 From: Ajay Balasa Date: Wed, 27 May 2026 14:28:38 -0700 Subject: [PATCH 2/3] Remove specific repository condition from Slack alert for MBridge test results --- .github/workflows/cicd-main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/cicd-main.yml b/.github/workflows/cicd-main.yml index 99a57c8f9e8..3d34c7cb3f2 100644 --- a/.github/workflows/cicd-main.yml +++ b/.github/workflows/cicd-main.yml @@ -494,7 +494,6 @@ jobs: # Skipped/cancelled runs are intentionally not announced. if: | always() - && github.repository == 'NVIDIA/Megatron-LM' && (needs.cicd-mbridge-testing.result == 'success' || needs.cicd-mbridge-testing.result == 'failure') steps: - name: Send Slack alert From d64b6ff5ee705474921eba5aa74d120265024688 Mon Sep 17 00:00:00 2001 From: Ajay Balasa Date: Thu, 28 May 2026 13:38:25 -0700 Subject: [PATCH 3/3] include slack group in the notification for MBridge test failure results --- .github/workflows/cicd-main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cicd-main.yml b/.github/workflows/cicd-main.yml index ad6592effa4..8bf91192304 100644 --- a/.github/workflows/cicd-main.yml +++ b/.github/workflows/cicd-main.yml @@ -504,6 +504,7 @@ jobs: ${{ needs.cicd-mbridge-testing.result == 'success' && ':white_check_mark: *MBridge downstream tests passed*' || ':rotating_light: *MBridge downstream tests failed*' }} • Trigger: `${{ github.event_name }}` on `${{ github.ref_name }}` • Run: + ${{ needs.cicd-mbridge-testing.result == 'failure' && format('cc ', secrets.SLACK_NEMO_MB_CODEOWNERS_GROUP_ID) || '' }} cicd-compute-build-matrix: runs-on: ubuntu-latest