Skip to main content

resolve_active_deployment

Function resolve_active_deployment 

Source
pub async fn resolve_active_deployment(
    storage: &Storage,
    project: &Project,
) -> Result<(SessionVariant, ConfigId, Option<ExperimentId>)>
Expand description

Figure out which variant + config_id a new session should be tagged with. If an experiment is running: challenger variant on the challenger config. Otherwise: champion variant on the project’s champion config.