ci(hydra-automerge): tag owning team in auto-merge Slack notification - #83703
Draft
devin-ai-integration[bot] wants to merge 1 commit into
Draft
ci(hydra-automerge): tag owning team in auto-merge Slack notification#83703devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
Contributor
👋 Greetings, Airbyte Team Member!Here are some helpful tips and reminders for your convenience. 💡 Show Tips and TricksPR Slash CommandsAirbyte Maintainers (that's you!) can execute the following slash commands on your PR:
📚 Show Repo GuidanceHelpful Resources
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opened at Jim Ruppert's request; feature originally requested by Patrick Nilan in the #hydra-feedback Slack channel.
What
Requested by Patrick Nilan in #hydra-feedback, with scope confirmed by Jim Ruppert: today's
:robot_face: Hydra Auto-MergeSlack post to #hydra-hands-free notifies nobody, so the team that owns the auto-merged connector code has no visibility and no prompt to confirm whether the merge was correct or erroneous.This tags the owning oncall group in that existing notification.
How
New
Resolve owning team mentions for Slackstep (same guard conditions as the Slack post, running in the already-checked-out PR head tree) derives the modified connectors from the PR file list and maps them to a group:Language comes from
metadata.yamltags, matching theidentify-oncall-contactskill's classification rule. Connector names are also recovered fromdocs/integrations/{sources,destinations}/<name>.mdpaths so docs-only auto-merges still route. A mixed PR tags both groups; mentions render as<!subteam^ID|@alias>in the message body so Slack actually notifies the group.Review guide
.github/workflows/hydra-automerge.yml— the new step and the added mention line in the Slack section block.User Impact
Auto-merged connector PRs now ping @oc-apis or @oc-db-dw in #hydra-hands-free with a request to review the merge. No change to auto-merge eligibility, gating, or merge behavior. Destination changes remain deterministically ineligible for auto-merge, so the
@oc-db-dwpath fires today only for Java/Kotlin sources.Can this PR be safely reverted and rolled back?
Devin session