Skip to content

Added Source Id to Event Metadata for Reward Events [HIRO-406] - #182

Merged
tolgatolgay merged 2 commits into
mainfrom
tt/map-source-id-to-event-metadata
Sep 25, 2026
Merged

tolgatolgay merged 2 commits into
mainfrom
tt/map-source-id-to-event-metadata

Conversation

@tolgatolgay

Copy link
Copy Markdown
Contributor

No description provided.

@tolgatolgay
tolgatolgay requested review from a team and VBorisof and a lite review from Copilot and removed request for Copilot September 24, 2026 14:11
@linear-code

linear-code Bot commented Sep 24, 2026

Copy link
Copy Markdown

HIRO-406

Comment thread events_satori.go
return &PublisherEvent{
Name: "teamItemsGranted",
Id: newUUIDv4(),
Metadata: map[string]string{

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.

Do we want to add it here as well?

Copilot AI 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.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Adds sourceId metadata to reward-grant events so consumers can identify their originating source.

Changes:

  • Adds source IDs to currency, item, team-item, energy, and modifier events.
  • Preserves existing event fields and behavior.
File Summary
events_satori.go Adds source identifiers to reward event metadata.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@tolgatolgay
tolgatolgay merged commit 60bc51e into main Sep 25, 2026
3 checks passed
@tolgatolgay
tolgatolgay deleted the tt/map-source-id-to-event-metadata branch September 25, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants