Skip to content

Expose asset event id and source watcher to asset listeners - #76750

Open
kacpermuda wants to merge 1 commit into
apache:mainfrom
kacpermuda:claude/listener-asset-event-watcher-info-a43680
Open

kacpermuda wants to merge 1 commit into
apache:mainfrom
kacpermuda:claude/listener-asset-event-watcher-info-a43680

Conversation

@kacpermuda

@kacpermuda kacpermuda commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Adds fields to the listener AssetEvent passed to on_asset_event_emitted:

  • id, timestamp, asset_id: from the stored asset event. Core always sets them.
  • source_watcher_name, source_trigger_classpath (optional, default None): the asset watcher whose trigger fired, and the trigger class. Set only for triggerer events.

Consumers such as OpenLineage need these to identify and describe watcher-driven events.

Triggerer safety: no new queries (watchers are already eager-loaded) and no decryption. Trigger kwargs are left out because they may hold secrets.

Related followup in OL listener: #76773


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 5.5)

Generated-by: Claude Code (Opus 5.5) following the guidelines

🤖 Generated with Claude Code

@kacpermuda
kacpermuda force-pushed the claude/listener-asset-event-watcher-info-a43680 branch from a9f0dc9 to b61c91f Compare November 20, 2026 11:41
@kacpermuda

Copy link
Copy Markdown
Collaborator Author

Can we backport this to 3.4.1 ?

@Lee-W

Lee-W commented Nov 20, 2026

Copy link
Copy Markdown
Member

I don't think this should target 3.4.1. @vatsrahul1001 WDYT?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants