Skip to content

Conversation

@apata
Copy link
Contributor

@apata apata commented Jan 13, 2026

Changes

After this PR, when an event is built, it allows interactive?: false value to be set if it is set in the API request.
After this PR, we will quietly ignore attempts to override any system event to be non-interactive. This is to avoid unexpected behavior. To do so, this PR refactors and expands SystemGoals module to SystemEvents.

Before this PR, the event request interactive value was ignored completely, so events built from API requests with interactive: false were treated as interactive: true.
Existing tests didn't catch it, because session is_bounce related tests create events with the event factory, rather than the ingestion pipeline.

Tests

  • Automated tests have been added

Changelog

  • Entry has been added to changelog

Documentation

  • This change does not need a documentation update

Dark mode

  • This PR does not change the UI

@apata apata marked this pull request as ready for review January 14, 2026 10:25
@apata apata requested a review from a team January 14, 2026 10:25
@apata apata changed the title Fix interactive Fix feature that allows marking events as non-interactive Jan 14, 2026
:revenue_reporting_amount,
:revenue_reporting_currency
:revenue_reporting_currency,
:interactive?
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This here was the root cause. We correctly derived what the user wanted to set the interactive? value to, but we didn't allow it to pass to the event we built. It was ignored by ClickhouseEventV2.new/1 and the event was built with the default true value. This meant that logic to handle non-interactive events down the line never kicked in.

@apata apata added the preview label Jan 14, 2026
@github-actions
Copy link

Preview environment👷🏼‍♀️🏗️
PR-6001

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants