Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: move UUID validation up in pipeline #18317

Merged
merged 18 commits into from
Nov 7, 2023
Merged

Conversation

davemurphysf
Copy link

@davemurphysf davemurphysf commented Oct 31, 2023

Problem

Moving UUID validation sooner in the pipeline; no point waiting until we get to processing.

Changes

Move UUID validation from process step to populateTeamData step

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

How did you test this code?

Updated unit tests to check for bad string and null value

Also, capture.py validates the UUID here

@davemurphysf davemurphysf requested a review from a team October 31, 2023 22:48
@davemurphysf davemurphysf changed the title Move UUID validation up perf: move UUID validation up in pipeline Oct 31, 2023
@davemurphysf davemurphysf marked this pull request as draft October 31, 2023 23:13
@bretthoerner
Copy link
Contributor

Looks like an existing test has a bad UUID and now fails:

@davemurphysf davemurphysf marked this pull request as ready for review November 2, 2023 21:39
@davemurphysf davemurphysf enabled auto-merge (squash) November 7, 2023 19:31
@davemurphysf davemurphysf merged commit 747597e into master Nov 7, 2023
68 checks passed
@davemurphysf davemurphysf deleted the dave/move-uuid-check branch November 7, 2023 19:39
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