Skip to content

Conversation

dm464
Copy link
Contributor

@dm464 dm464 commented Aug 16, 2022

💸 TL;DR

This PR passes loid_created_ms from the edge context to the decider as loid_created_timestamp

This corresponding PR adds loid_created_timestamp into the decider context.

@dm464 dm464 force-pushed the denisse--add-loid-created-ms branch from c8eed9f to 7aea8ca Compare August 17, 2022 15:07
@dm464 dm464 marked this pull request as ready for review August 17, 2022 15:21
@dm464 dm464 requested a review from mrlevitas August 17, 2022 17:23
"id": self._user_id,
"logged_in": self._logged_in,
"cookie_created_timestamp": self._cookie_created_timestamp,
"loid_created_timstamp": self._loid_created_timestamp,
Copy link
Contributor

Choose a reason for hiding this comment

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

this function is used to dump data for v2 event exposures, and the v2 event schema doesn't have this field on user so we can eliminate it here

"device_id": self._device_id,
"origin_service": self._origin_service,
"cookie_created_timestamp": self._cookie_created_timestamp,
"loid_created_timestamp": self._loid_created_timestamp,
Copy link
Contributor

Choose a reason for hiding this comment

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

similar here, there's no top level field in v2 event schema for loid (or any field for loid in v2 events) so let's get rid of it here as well

@dm464 dm464 force-pushed the denisse--add-loid-created-ms branch from 16ab2c7 to 0c6e089 Compare August 17, 2022 18:18
@dm464 dm464 requested a review from mrlevitas August 17, 2022 18:27
Copy link
Contributor

@mrlevitas mrlevitas left a comment

Choose a reason for hiding this comment

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

lgtm!

@mrlevitas
Copy link
Contributor

let's tag a new release after we merge this.

@dm464 dm464 merged commit cfe7669 into develop Aug 17, 2022
@mrlevitas mrlevitas deleted the denisse--add-loid-created-ms branch September 6, 2022 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants