Skip to content

Fixes #37288: Notify Downstream reaches downstream owners on alerts for data assets (backport 2.1 #37289) - #37477

Merged
manerow merged 1 commit into
2.1from
fix/37288-notify-downstream-data-assets-2.1
Nov 10, 2026
Merged

manerow merged 1 commit into
2.1from
fix/37288-notify-downstream-data-assets-2.1

Conversation

@manerow

@manerow manerow commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Issue

Fixes #37288

Cherry-pick of PR #37289 to the 2.1 release branch. PR #37289 merged into main after 2.1 was re-created from it, so 2.1 still has the bug. The commit applied with no conflicts: the handler, its unit test and the integration test were the same on 2.1 as on main before the fix. PR #37289 explains the problem and the change. The 2.0 port is PR #37290.

What users will notice

  • Alerts on data assets, such as tables, with Notify Downstream on now reach the owners of downstream assets. Before, they reached only the changed asset's own recipients.
  • Alerts that already have it on will send more messages after upgrading. With no Downstream Depth set, the walk has no limit.
  • A hard delete still reaches only the asset's own recipients, because its lineage is deleted with it.

Saved alerts need no migration.

How it was tested on 2.1

Local Java test run: PASSED

  • Commit: 1d8eb07f096e (base origin/2.1)
  • Finished: 2026-11-10 09:27 UTC · 3.9 min
  • Scope: focused; merge readiness is not established. Broader steps deferred: 2 (run --scope full).
Step Scope Classes Tests Failed Skipped Min Result
unit openmetadata-service (1 class) 1 2 0 0 1.1 passed
integration mysql-elasticsearch · parallel 1 4 0 0 2.8 passed

@manerow
manerow requested a review from a team as a code owner November 10, 2026 09:27
@manerow manerow added safe to test Add this label to run secure Github workflows on PRs backend labels Nov 10, 2026
@manerow
manerow requested review from pmbrull and removed request for a team November 10, 2026 09:27
@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@gitar-bot

gitar-bot Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Using the changed asset when lineage roots are empty can notify every downstream owner, increasing webhook volume when no depth limit is set.

Cherry-picks the Notify Downstream fix to the 2.1 branch so alerts on data assets with Notify Downstream enabled now reach owners of downstream assets, not only the changed asset's own recipients. Unit and integration tests pass locally; no issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@manerow
manerow merged commit 72a04c6 into 2.1 Nov 10, 2026
69 of 89 checks passed
@manerow
manerow deleted the fix/37288-notify-downstream-data-assets-2.1 branch November 10, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant