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

fix(plugin-server): add time component to person.force_upgrade #21899

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

bretthoerner
Copy link
Contributor

Problem

Incoming anonymous events can race with events post-identify. We shouldn't force upgrade unless a Person is used via $process_person_profile=false well after creation.

Changes

Add time diff component to force_upgrade=true

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

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Tests

@bretthoerner bretthoerner force-pushed the brett/force-upgrade-time-diff branch from baf1b2e to 76c9b56 Compare April 26, 2024 16:25
@bretthoerner bretthoerner requested a review from tiina303 April 26, 2024 16:25
@bretthoerner bretthoerner merged commit f87b54c into master Apr 26, 2024
97 checks passed
@bretthoerner bretthoerner deleted the brett/force-upgrade-time-diff branch April 26, 2024 16:41
fuziontech added a commit that referenced this pull request Apr 26, 2024
* master: (28 commits)
  fix: refactor update animation to do less (#21901)
  fix(plugin-server): add time component to person.force_upgrade (#21899)
  fix(dashboards): Indicate 404/400/500 properly (#21853)
  fix: recording exports (#21900)
  feat: Update SLAs, remove GitHub buttons (#21818)
  chore: Removed feature flag for heatmaps (#21886)
  fix(data-warehouse): Added an error message for empty data source files (#21843)
  feat(surveys): allow to stop surveys once reached enough responses (#21528)
  fix: patch missing pause method in rrweb (#21898)
  fix(hogql): make funnels fast again (#21890)
  fix: Explicitly call out readonly user fields (#21889)
  chore(dev): Allow mypy to run in VS Code extension (#21891)
  feat: Small heatmap UI fixes (#21849)
  feat: Improve Heatmaps UI and notices (#21887)
  fix: Redirection to keep query params (#21881)
  fix: hot path is cooler now (#21888)
  feat(data-warehouse): Moved the table model creation to the data pipeline activity (#21817)
  fix: snapshot response timings (#21885)
  chore(deps): Update posthog-js to 1.130.0 (#21884)
  feat(debug): tabs + better view for non-hogql-query nodes (#21867)
  ...
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