Skip to content

Sysdyn experiment activation has race conditions regarding experiment run creation/activation and DB listeners

Chart view has problems properly following experiment activation and active experiment state.

The creation of the experiment run already triggers chart-related requests and the sysdyn experiment is not yet available when these requests are already triggered.

The experiment manager doesn't register the experiment as an active experiment until IExperimentActivationListener.onExperimentActivated is invoked.

We could try to activate the experiment run (IsActive relation) only after the experiment has seemingly been activated.

Problematic entrypoints:

  • ActiveDatasetsIndexVariable
  • IndexVariable.ensureInformationAvailable