Skip to content

Ensure variant when creating ExperimentSubjects

Jay requested to merge jswain_publish_to_database_always_has_variant into master

What does this MR do and why?

This MR slightly changes how a variant name is retrieved. Previously the code was looking for a memoized value, which typically is fine, unless you run publish_to_database before the experiment .run method is called.

part of: #346126

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading