Skip to content

ci: simplify GitHub-Slack communication in the release process#10739

Merged
anakin87 merged 2 commits intomainfrom
release-slack
Mar 5, 2026
Merged

ci: simplify GitHub-Slack communication in the release process#10739
anakin87 merged 2 commits intomainfrom
release-slack

Conversation

@anakin87
Copy link
Member

@anakin87 anakin87 commented Mar 5, 2026

Related Issues

Proposed Changes:

During the release process, instead of sending DD events and then Slack notifications from DD monitors, skip DD

  • use slackapi/slack-github-action in the release workflow
  • simplify release notification preparation script:
    • fewer outputs needed
    • better Slack markdown format

To make this work, before opening this PR, I completed the setup described in the Slack documentation.

How did you test it?

Can't trigger the workflow without issuing a release
but I ran the script locally and sent its output to Slack using the Webhook

image

Checklist

  • I have read the contributors guidelines and the code of conduct.
  • I have updated the related issue with new insights and changes.
  • I have added unit tests and updated the docstrings.
  • I've used one of the conventional commit types for my PR title: fix:, feat:, build:, chore:, ci:, docs:, style:, refactor:, perf:, test: and added ! in case the PR includes breaking changes.
  • I have documented my code.
  • I have added a release note file, following the contributors guidelines.
  • I have run pre-commit hooks and fixed any issue.

@vercel
Copy link

vercel bot commented Mar 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
haystack-docs Ready Ready Preview, Comment Mar 5, 2026 10:16am

Request Review

Comment on lines +59 to +62
# For RCs, request testing from Platform Engineering
if [[ "${IS_RC}" == "true" ]]; then
TXT+=$'\n\n'"This release is marked as a Release Candidate."
TXT+=$'\n'"Comment on this message and tag Platform Engineering to request testing on both Platform and DC custom nodes."
Copy link
Member Author

Choose a reason for hiding this comment

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

this was originally included in the DD monitor, which we skip now

Copy link
Contributor

Choose a reason for hiding this comment

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

Could we tag Platform Engineering automatically already here with @platform-eng - don't know if it will render as plain text or as a link in Slack

Copy link
Member Author

Choose a reason for hiding this comment

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

If we want to tag them, we would need the Slack group ID (easy to get).

But my original idea was: let's have the release manager decide and avoid noise. It might happen that the RC does not need nesting or that the release manager prefers to send a private message to a person...

Copy link
Contributor

Choose a reason for hiding this comment

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

ah got it - makes sense 👍🏽

@anakin87 anakin87 self-assigned this Mar 5, 2026
@anakin87 anakin87 marked this pull request as ready for review March 5, 2026 10:13
@anakin87 anakin87 requested a review from a team as a code owner March 5, 2026 10:13
@anakin87 anakin87 requested review from davidsbatista and removed request for a team March 5, 2026 10:13
Copy link
Contributor

@davidsbatista davidsbatista left a comment

Choose a reason for hiding this comment

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

LGTM! Left one suggestion to explore but feel free to merge

Comment on lines +59 to +62
# For RCs, request testing from Platform Engineering
if [[ "${IS_RC}" == "true" ]]; then
TXT+=$'\n\n'"This release is marked as a Release Candidate."
TXT+=$'\n'"Comment on this message and tag Platform Engineering to request testing on both Platform and DC custom nodes."
Copy link
Contributor

Choose a reason for hiding this comment

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

Could we tag Platform Engineering automatically already here with @platform-eng - don't know if it will render as plain text or as a link in Slack

@anakin87 anakin87 merged commit a490409 into main Mar 5, 2026
14 checks passed
@anakin87 anakin87 deleted the release-slack branch March 5, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants