Skip to content

ref(spans): Remove old outcome code#6083

Open
tobias-wilfert wants to merge 1 commit into
masterfrom
tobias-wilfert/ref/span-eap-outcome
Open

ref(spans): Remove old outcome code#6083
tobias-wilfert wants to merge 1 commit into
masterfrom
tobias-wilfert/ref/span-eap-outcome

Conversation

@tobias-wilfert

@tobias-wilfert tobias-wilfert commented Jun 12, 2026

Copy link
Copy Markdown
Member

Removes the old outcome code and updates the test to reflect the new behaviour.
Part of the rollout plan specified here: INGEST-806

Ref: INGEST-806

@linear-code

linear-code Bot commented Jun 12, 2026

Copy link
Copy Markdown

INGEST-806

@tobias-wilfert tobias-wilfert changed the title ref(span): Remove old outcome code ref(spans): Remove old outcome code Jun 12, 2026
@tobias-wilfert tobias-wilfert marked this pull request as ready for review June 12, 2026 13:37
@tobias-wilfert tobias-wilfert requested a review from a team as a code owner June 12, 2026 13:37
retention_days: message.retention_days,
downsampled_retention_days: message.downsampled_retention_days,
received: datetime_to_timestamp(received_at),
accepted_outcome_emitted: relay_emits_accepted_outcome,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think a safer rollout would be:

  • Always write true here, rollout Relay
  • Rollout consumer to ignore the flag and always add outcomes
  • Remove the boolean from Relay

This order will work even if we missed setting the rollout flag in a region.

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