Skip to content

Chore/ap 5802 remove events#198

Merged
robertsevernsentient merged 3 commits into
masterfrom
chore/AP-5802-remove-events
Jul 3, 2025
Merged

Chore/ap 5802 remove events#198
robertsevernsentient merged 3 commits into
masterfrom
chore/AP-5802-remove-events

Conversation

@robertsevernsentient

Copy link
Copy Markdown
Contributor

No description provided.

Eliminates eventBeacon creation, event transmission to /events endpoint, confirmation/contamination event sending, and related v1 events tests. Events now only set on context.

[AP-5802]
it's the only way to send data back to the server. remove the option and assume it's true in all locations it was used

[AP-5802]
Comment thread src/index.js
Comment on lines -56 to -57
const contextBeacon = options.analytics ? new Beacon(options.endpoint + '/' + options.environment + '/data', context, beaconOptions) : null;
const eventBeacon = options.beacon || new Beacon(options.endpoint + '/' + options.environment + '/events', context, beaconOptions);

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.

Was the idea that event beacon would be used if analytics was turned off, but now we only use analytics so it'll always be made?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

contextBeacon came in after eventBeacon. eventBeacon gave all the info for visitor based tests. Session based were new and were set to be optional. Now all tests are session based

Comment thread src/index.js
@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2025

Copy link
Copy Markdown

@DT-1236 DT-1236 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.

The tests are so fast 😲

@robertsevernsentient robertsevernsentient merged commit 147d1b4 into master Jul 3, 2025
7 checks passed
@robertsevernsentient robertsevernsentient deleted the chore/AP-5802-remove-events branch July 3, 2025 21:29
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.

2 participants