Skip to content

Fixes #23840: Duplicate tags in ChangeDescription - #23841

Merged
manerow merged 3 commits into
mainfrom
fix/23840-duplicate-tags-on-changeevent
Oct 14, 2025
Merged

manerow merged 3 commits into
mainfrom
fix/23840-duplicate-tags-on-changeevent

Conversation

@manerow

@manerow manerow commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Describe your changes

Fixes #23840

Fixed duplicate tags appearing in ChangeEvent notifications when updating table column tags by passing empty lists to recordListChange() in
EntityRepository.updateTags().

The bug occurred because updateTags() pre-calculated addedTags and deletedTags for database operations, then passed these pre-populated lists to
recordListChange(). However, recordListChange() is designed to calculate diffs itself by adding to the provided lists, causing duplicates.
This fix aligns EntityRepository with the correct pattern used by GlossaryTermRepository and all other callers of recordListChange().

Tested by debugging the ChangeEvent generation flow for column tag updates and verifying that tags now appear only once in the ChangeDescription.


Type of change

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@manerow manerow self-assigned this Oct 10, 2025
@manerow
manerow requested a review from a team as a code owner October 10, 2025 15:10
@manerow manerow added bug Something isn't working safe to test Add this label to run secure Github workflows on PRs backend area:alerts-notifications Change events, event subscriptions, alerts, notification templates and channels, email. labels Oct 10, 2025
@manerow
manerow force-pushed the fix/23840-duplicate-tags-on-changeevent branch from c8835fa to 07539fe Compare October 10, 2025 15:15
@manerow
manerow force-pushed the fix/23840-duplicate-tags-on-changeevent branch from 07539fe to 08771ce Compare October 11, 2025 08:24

@Bhanuagr Bhanuagr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@sonarqubecloud

Copy link
Copy Markdown

@manerow
manerow merged commit 86b6de3 into main Oct 14, 2025
@manerow
manerow deleted the fix/23840-duplicate-tags-on-changeevent branch October 14, 2025 15:44
PabloChanivet added a commit to PabloChanivet/OpenMetadata that referenced this pull request Mar 10, 2026
ulixius9 pushed a commit that referenced this pull request Mar 11, 2026
#26376)

* fix(athena): handle missing CompletionDateTime in usage ingestion (#23841)

* test(athena): add unit tests for CompletionDateTime fallback in usage ingestion

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
ulixius9 pushed a commit that referenced this pull request Mar 11, 2026
#26376)

* fix(athena): handle missing CompletionDateTime in usage ingestion (#23841)

* test(athena): add unit tests for CompletionDateTime fallback in usage ingestion

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: Claude Sonnet 4.6 <[email protected]>

This branch was previously deployed

1 inactive deployment
test — b8d517da Deployed Oct 14, 2025 by manerow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:alerts-notifications Change events, event subscriptions, alerts, notification templates and channels, email. backend bug Something isn't working 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.

Duplicate tags in ChangeEvent notifications for Entity tag updates

2 participants