Skip to content

fix(ci): Notification workflow for Slack#8167

Merged
justin-tahara merged 1 commit intomainfrom
jtahara/fixing-slack-notifications-workflow
Feb 4, 2026
Merged

fix(ci): Notification workflow for Slack#8167
justin-tahara merged 1 commit intomainfrom
jtahara/fixing-slack-notifications-workflow

Conversation

@justin-tahara
Copy link
Copy Markdown
Contributor

@justin-tahara justin-tahara commented Feb 4, 2026

Description

These steps fail since we are reaching out to AWS for a secret that does not exist.

This aligns usage across the codebase.

How Has This Been Tested?

Additional Options

  • [Required] I have considered whether this PR needs to be cherry-picked to the latest beta branch.
  • [Optional] Override Linear Check

Summary by cubic

Fix Slack notifications in the deployment workflow by reading the webhook from GitHub Secrets instead of AWS Secrets Manager. This stops CI failures caused by missing AWS secrets and standardizes secret usage.

  • Bug Fixes
    • Removed AWS credential and Secrets Manager steps from .github/workflows/deployment.yml.
    • Updated both Slack notify steps to use secrets.MONITOR_DEPLOYMENTS_WEBHOOK.

Written for commit 92d4380. Summary will update on new commits.

@justin-tahara justin-tahara requested a review from a team as a code owner February 4, 2026 21:22
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Feb 4, 2026

Greptile Overview

Greptile Summary

Removed AWS Secrets Manager integration from Slack notification jobs in the deployment workflow. The change switches from fetching MONITOR_DEPLOYMENTS_WEBHOOK via AWS Secrets Manager to using it directly from GitHub secrets, which aligns with the pattern used in other workflows like tag-nightly.yml.

Key Changes:

  • Removed AWS credential configuration steps from notify-slack-on-tag-check-failure and notify-slack-on-deployment-failure jobs
  • Removed aws-secretsmanager-get-secrets action calls
  • Changed webhook-url parameter from ${{ env.MONITOR_DEPLOYMENTS_WEBHOOK }} to ${{ secrets.MONITOR_DEPLOYMENTS_WEBHOOK }}

This simplifies the workflow by eliminating dependencies on AWS OIDC authentication and Secrets Manager for these notification steps, fixing failures caused by missing AWS secrets.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • The changes are straightforward and well-aligned with existing patterns in the codebase. The fix removes unnecessary AWS integration and uses GitHub secrets directly, which is the standard approach used in other workflows. The change is minimal, focused, and addresses the root cause of the failure mentioned in the PR description.
  • No files require special attention

Important Files Changed

Filename Overview
.github/workflows/deployment.yml Removed AWS secret fetching and switched to direct GitHub secrets for Slack webhook, aligning with codebase patterns

Sequence Diagram

sequenceDiagram
    participant GHA as GitHub Actions
    participant Secret as GitHub Secrets
    participant Slack as Slack Action
    participant SlackAPI as Slack API

    Note over GHA: notify-slack-on-tag-check-failure job
    GHA->>GHA: Check if check-version-tag failed
    alt check-version-tag failed
        GHA->>Secret: Fetch MONITOR_DEPLOYMENTS_WEBHOOK
        Secret-->>GHA: Return webhook URL
        GHA->>Slack: Call slack-notify action
        Slack->>SlackAPI: POST notification with webhook URL
        SlackAPI-->>Slack: Notification sent
    end

    Note over GHA: notify-slack-on-deployment-failure job
    GHA->>GHA: Check if any build jobs failed
    alt Any build job failed
        GHA->>GHA: Determine which jobs failed
        GHA->>Secret: Fetch MONITOR_DEPLOYMENTS_WEBHOOK
        Secret-->>GHA: Return webhook URL
        GHA->>Slack: Call slack-notify action
        Slack->>SlackAPI: POST notification with webhook URL
        SlackAPI-->>Slack: Notification sent
    end
Loading

@justin-tahara justin-tahara added this pull request to the merge queue Feb 4, 2026
Merged via the queue into main with commit 79c1bbe Feb 4, 2026
82 checks passed
@justin-tahara justin-tahara deleted the jtahara/fixing-slack-notifications-workflow branch February 4, 2026 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants