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(experiments): Force refresh when start_date is provided #27396

Merged
merged 2 commits into from
Jan 9, 2025

Conversation

danielbachhuber
Copy link
Contributor

See #27014

Changes

Force refreshes experiment results when a start_date is included in the update payload. Previously, relaunching an experiment with a new start date could unexpectedly use cached experiment results, causing erroneous display of data.

Before

CleanShot.2025-01-09.at.05.59.19.mp4

After

CleanShot.2025-01-09.at.06.01.09.mp4

How did you test this code?

I reset an existing experiment and launched it again. Without these changes, the prior experiment results displayed. With these changes, "Results not yet available" displays as expected.

@danielbachhuber danielbachhuber requested review from neilkakkar and a team January 9, 2025 14:02
Copy link
Contributor

github-actions bot commented Jan 9, 2025

Size Change: 0 B

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.11 MB

compressed-size-action

Copy link
Contributor

@andehen andehen left a comment

Choose a reason for hiding this comment

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

Great! 👍

Had a handful of support tickets today related to issues with the "Reset" button and wrong results displayed. Awesome to have these issues fixed 🌟

@danielbachhuber danielbachhuber merged commit bf2e71e into master Jan 9, 2025
99 checks passed
@danielbachhuber danielbachhuber deleted the experiments/force-refresh branch January 9, 2025 20:24
fuziontech added a commit that referenced this pull request Jan 10, 2025
* master: (659 commits)
  fix: more tz/date fiddling to get this property thing working (#27423)
  fix(hogql): support virtual tables with lazy tables (#27404)
  fix: Removing target options for survey resets its value to remove validation error (#27139)
  chore: Use `actions/{download,upload}-artifact@v4` (#27413)
  feat(clickhouse): when HTTP pass ca_cert and verify  to pool manager (#27399)
  fix: typo in dashboard template configuration (#27417)
  fix(experiments): Force refresh when `start_date` is provided (#27396)
  feat(data-warehouse): Reset the pipeline source files when resync is selected on the frontend (#27402)
  chore(data-warehouse): Added SSL error as a non retryable error (#27395)
  chore(data-warehouse): Upgrade deltalake package (#27393)
  chore(data-warehouse): Kill the delta subprocess if need be (#27392)
  feat: Add P75 quantile (#27409)
  fix: property labels need to be known about in the backend but are defined in the front end (#27328)
  fix(editor-3001): show header on mobile for editor (#27373)
  chore: Enable web vitals capture (#27394)
  feat: Add human friendly comparison periods toggle (#27176)
  feat: promote data warehouse from taxonomic filter component (#27364)
  chore(experiments): Improve result state resetting (#27391)
  fix: Track records completed in heartbeat (#26686)
  fix(data-warehouse): Handle NaN values from SQL sources (#27360)
  ...
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