Skip to content

fix(brain-checklist): @mention the CSM on brain submission Slack posts - #145

Open
rezakhadjavi wants to merge 1 commit into
mainfrom
runneth/brain-checklist-slack-mention
Open

fix(brain-checklist): @mention the CSM on brain submission Slack posts#145
rezakhadjavi wants to merge 1 commit into
mainfrom
runneth/brain-checklist-slack-mention

Conversation

@rezakhadjavi

Copy link
Copy Markdown
Contributor

Why

Brain submission Slack posts go to a single channel (BRAIN_CHECKLIST_SLACK_CHANNEL, #josh-runneth) but never @mention anyone, so the owning CSM only sees them if channel notifications happen to surface them.

Separately, the channel var was missing in prod entirely, so delivery silently no-op'd (handled via Railway config, not this PR).

What

Adds optional BRAIN_CHECKLIST_SLACK_MENTION env. When set (e.g. <@U06NGLVPAQ0>), the parent message opens with that mention so the CSM is actually pinged. Unset = no mention line, no behavior change.

The prod env var is already set to Josh's Slack ID; this PR is what makes the code use it.

Reported by Josh.

Adds BRAIN_CHECKLIST_SLACK_MENTION env. When set, the parent submission
message opens with the mention so the owning CSM is actually notified
(channel posts alone do not ping anyone).
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.

1 participant