Add Slack failure notification to baml-language-release workflow#4115
Add Slack failure notification to baml-language-release workflow#4115sxlijin wants to merge 2 commits into
Conversation
- Add notify-slack job that runs after successful publish - Uses boundary-tools-dev environment - Posts to channel C03KV1PJ6EM using SLACK_BOUNDARY_BOT_TOKEN - Includes version, channel, and workflow run link in message Co-authored-by: Sam Lijin <sam@boundaryml.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
⏭️ Performance benchmarks were skippedPerf benchmarks (CodSpeed) are opt-in on pull requests — they no longer run on every push. They always run automatically after merge to To run them on this PR, do any of the following, then push a commit (or re-run CI):
|
Binary size checks passed✅ 7 passed
Generated by |
- Changed condition to trigger only when publish-pkg-boundaryml-com fails - Changed channel from ID to #general - Updated message to indicate failure - Updated job name and step descriptions Co-authored-by: Sam Lijin <sam@boundaryml.com>
Issue Reference
N/A - Direct request from Slack
Changes
Added a Slack notification job to the
release-baml-language.ymlworkflow that:publish-pkg-boundaryml-comjob failure)boundary-tools-devGitHub environment#generalSLACK_BOUNDARY_BOT_TOKENfrom the environment secretsThe notification job is configured to run only when:
dry_run == falsesource_branch == 'canary'publish-pkg-boundaryml-com.result == 'failure'Testing
The workflow change can be tested by:
#generalPR Checklist
Additional Notes
The Slack notification will only be sent for failed non-dry-run releases from the canary branch. The job requires the following environment variables to be configured in the
boundary-tools-devenvironment:SLACK_BOUNDARY_BOT_TOKEN(required for authentication)The notification uses
#generalas the channel name, which the Slack API will resolve to the appropriate channel ID.Slack Thread