Repository navigation
Fixes #37288: Notify Downstream reaches downstream owners on alerts for data assets (backport 2.0 #37289) - #37290
Merged
Conversation
…or data assets (backport 2.0 #37289)
Code Review ✅ Approved🟡 Medium risk · Walking downstream from parentless changed assets may send alerts to additional owners beyond the recipients users previously expected. Extends Notify Downstream alert handling on the 2.0 branch so that when the resolver finds no parents, recipients downstream of the changed data asset are notified, with lineage read failures logged and the entity's own recipients still notified. No issues found. VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
pmbrull
approved these changes
Nov 10, 2026
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.
Issue
Fixes #37288
Port of PR #37289 to the 2.0 release branch. 2.0 has the older recipient code under
notifications/recipients, so the commit cannot be cherry-picked; this applies the same rule there. PR #37289 explains the problem.What changes
Alerts that already have Notify Downstream on will send more messages after upgrading. With no Downstream Depth set, the walk has no limit.
How it was tested on 2.0
LineageBasedDownstreamHandlerTest(new): a table walks downstream from itself using the real default resolver, and a failed lineage read keeps the table's own recipients. The first case fails on 2.0 without this change; the second passes either way. Both pass with it, together withOwnerRecipientResolverTestandRecipientResolutionTest(19 tests).NotifyDownstreamITrelies on helpers only main has, so it is not ported. Instead I checked by hand on a real 2.0.7 server carrying this handler, with real webhooks and team owners: