2021-07-28 04:51:29 -04:00
|
|
|
const { SplitTest } = require('../../models/SplitTest')
|
2022-11-02 11:34:01 -04:00
|
|
|
const SplitTestUtils = require('./SplitTestUtils')
|
2021-07-28 04:51:29 -04:00
|
|
|
const OError = require('@overleaf/o-error')
|
|
|
|
const _ = require('lodash')
|
|
|
|
|
|
|
|
const ALPHA_PHASE = 'alpha'
|
|
|
|
const BETA_PHASE = 'beta'
|
|
|
|
const RELEASE_PHASE = 'release'
|
|
|
|
|
2022-12-21 08:00:12 -05:00
|
|
|
async function getSplitTests({ name, phase, type, active, archived }) {
|
2022-01-28 05:44:10 -05:00
|
|
|
const filters = {}
|
|
|
|
if (name && name !== '') {
|
|
|
|
filters.name = { $regex: _.escapeRegExp(name) }
|
|
|
|
}
|
2022-12-21 08:00:12 -05:00
|
|
|
if (active) {
|
2022-01-28 05:44:10 -05:00
|
|
|
filters.$where = 'this.versions[this.versions.length - 1].active === true'
|
|
|
|
}
|
2022-12-20 11:09:39 -05:00
|
|
|
if (type === 'split-test') {
|
|
|
|
const query =
|
|
|
|
'this.versions[this.versions.length - 1].analyticsEnabled === true'
|
|
|
|
if (filters.$where) {
|
|
|
|
filters.$where += `&& ${query}`
|
|
|
|
} else {
|
|
|
|
filters.$where = query
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (type === 'gradual-rollout') {
|
|
|
|
const query =
|
|
|
|
'this.versions[this.versions.length - 1].analyticsEnabled === false'
|
|
|
|
if (filters.$where) {
|
|
|
|
filters.$where += `&& ${query}`
|
|
|
|
} else {
|
|
|
|
filters.$where = query
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (['alpha', 'beta', 'release'].includes(phase)) {
|
|
|
|
const query = `this.versions[this.versions.length - 1].phase === "${phase}"`
|
|
|
|
if (filters.$where) {
|
|
|
|
filters.$where += `&& ${query}`
|
|
|
|
} else {
|
|
|
|
filters.$where = query
|
|
|
|
}
|
|
|
|
}
|
2022-12-21 08:00:12 -05:00
|
|
|
if (archived === true) {
|
2022-05-30 09:50:01 -04:00
|
|
|
filters.archived = true
|
2022-12-21 08:00:12 -05:00
|
|
|
} else if (archived === false) {
|
2022-05-30 09:50:01 -04:00
|
|
|
filters.archived = { $ne: true }
|
|
|
|
}
|
2021-07-28 04:51:29 -04:00
|
|
|
try {
|
2023-05-30 05:30:46 -04:00
|
|
|
return await SplitTest.find(filters)
|
|
|
|
.populate('archivedBy', ['email', 'first_name', 'last_name'])
|
|
|
|
.populate('versions.author', ['email', 'first_name', 'last_name'])
|
|
|
|
.limit(100)
|
|
|
|
.exec()
|
2021-07-28 04:51:29 -04:00
|
|
|
} catch (error) {
|
|
|
|
throw OError.tag(error, 'Failed to get split tests list')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-30 09:50:01 -04:00
|
|
|
async function getSplitTest(query) {
|
2021-07-28 04:51:29 -04:00
|
|
|
try {
|
2023-05-30 05:30:46 -04:00
|
|
|
return await SplitTest.findOne(query)
|
|
|
|
.populate('archivedBy', ['email', 'first_name', 'last_name'])
|
|
|
|
.populate('versions.author', ['email', 'first_name', 'last_name'])
|
|
|
|
.exec()
|
2021-07-28 04:51:29 -04:00
|
|
|
} catch (error) {
|
2022-05-30 09:50:01 -04:00
|
|
|
throw OError.tag(error, 'Failed to get split test', { query })
|
2021-07-28 04:51:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-30 05:30:46 -04:00
|
|
|
async function createSplitTest(
|
|
|
|
{ name, configuration, badgeInfo = {}, info = {} },
|
|
|
|
userId
|
|
|
|
) {
|
2021-07-28 04:51:29 -04:00
|
|
|
const stripedVariants = []
|
|
|
|
let stripeStart = 0
|
|
|
|
_checkNewVariantsConfiguration([], configuration.variants)
|
|
|
|
for (const variant of configuration.variants) {
|
|
|
|
stripedVariants.push({
|
2022-02-10 10:39:37 -05:00
|
|
|
name: (variant.name || '').trim(),
|
2021-07-28 04:51:29 -04:00
|
|
|
rolloutPercent: variant.rolloutPercent,
|
2022-05-30 09:50:01 -04:00
|
|
|
rolloutStripes:
|
|
|
|
variant.rolloutPercent > 0
|
|
|
|
? [
|
|
|
|
{
|
|
|
|
start: stripeStart,
|
|
|
|
end: stripeStart + variant.rolloutPercent,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
: [],
|
2021-07-28 04:51:29 -04:00
|
|
|
})
|
|
|
|
stripeStart += variant.rolloutPercent
|
|
|
|
}
|
|
|
|
const splitTest = new SplitTest({
|
2022-02-10 10:39:37 -05:00
|
|
|
name: (name || '').trim(),
|
2022-01-28 05:44:10 -05:00
|
|
|
description: info.description,
|
|
|
|
expectedEndDate: info.expectedEndDate,
|
|
|
|
ticketUrl: info.ticketUrl,
|
|
|
|
reportsUrls: info.reportsUrls,
|
|
|
|
winningVariant: info.winningVariant,
|
2022-07-25 08:33:39 -04:00
|
|
|
badgeInfo,
|
2021-07-28 04:51:29 -04:00
|
|
|
versions: [
|
|
|
|
{
|
|
|
|
versionNumber: 1,
|
|
|
|
phase: configuration.phase,
|
|
|
|
active: configuration.active,
|
2022-02-28 07:57:41 -05:00
|
|
|
analyticsEnabled:
|
|
|
|
configuration.active && configuration.analyticsEnabled,
|
2021-07-28 04:51:29 -04:00
|
|
|
variants: stripedVariants,
|
2023-05-30 05:30:46 -04:00
|
|
|
author: userId,
|
2021-07-28 04:51:29 -04:00
|
|
|
},
|
|
|
|
],
|
|
|
|
})
|
|
|
|
return _saveSplitTest(splitTest)
|
|
|
|
}
|
|
|
|
|
2023-05-30 05:30:46 -04:00
|
|
|
async function updateSplitTestConfig({ name, configuration, comment }, userId) {
|
2022-05-30 09:50:01 -04:00
|
|
|
const splitTest = await getSplitTest({ name })
|
|
|
|
if (!splitTest) {
|
2021-07-28 04:51:29 -04:00
|
|
|
throw new OError(`Cannot update split test '${name}': not found`)
|
|
|
|
}
|
2022-05-30 09:50:01 -04:00
|
|
|
if (splitTest.archived) {
|
|
|
|
throw new OError('Cannot update an archived split test', { name })
|
|
|
|
}
|
2022-11-02 11:34:01 -04:00
|
|
|
const lastVersion = SplitTestUtils.getCurrentVersion(splitTest).toObject()
|
2022-05-30 09:50:01 -04:00
|
|
|
if (configuration.phase !== lastVersion.phase) {
|
|
|
|
throw new OError(
|
|
|
|
`Cannot update with different phase - use /switch-to-next-phase endpoint instead`
|
|
|
|
)
|
|
|
|
}
|
|
|
|
_checkNewVariantsConfiguration(lastVersion.variants, configuration.variants)
|
|
|
|
const updatedVariants = _updateVariantsWithNewConfiguration(
|
|
|
|
lastVersion.variants,
|
|
|
|
configuration.variants
|
|
|
|
)
|
|
|
|
|
|
|
|
splitTest.versions.push({
|
|
|
|
versionNumber: lastVersion.versionNumber + 1,
|
|
|
|
phase: configuration.phase,
|
|
|
|
active: configuration.active,
|
|
|
|
analyticsEnabled: configuration.active && configuration.analyticsEnabled,
|
|
|
|
variants: updatedVariants,
|
2023-05-30 05:30:46 -04:00
|
|
|
author: userId,
|
|
|
|
comment,
|
2022-05-30 09:50:01 -04:00
|
|
|
})
|
|
|
|
return _saveSplitTest(splitTest)
|
2021-07-28 04:51:29 -04:00
|
|
|
}
|
|
|
|
|
2022-01-28 05:44:10 -05:00
|
|
|
async function updateSplitTestInfo(name, info) {
|
2022-05-30 09:50:01 -04:00
|
|
|
const splitTest = await getSplitTest({ name })
|
|
|
|
if (!splitTest) {
|
2022-01-28 05:44:10 -05:00
|
|
|
throw new OError(`Cannot update split test '${name}': not found`)
|
|
|
|
}
|
2022-05-30 09:50:01 -04:00
|
|
|
splitTest.description = info.description
|
|
|
|
splitTest.expectedEndDate = info.expectedEndDate
|
|
|
|
splitTest.ticketUrl = info.ticketUrl
|
|
|
|
splitTest.reportsUrls = info.reportsUrls
|
|
|
|
splitTest.winningVariant = info.winningVariant
|
|
|
|
return _saveSplitTest(splitTest)
|
2022-01-28 05:44:10 -05:00
|
|
|
}
|
|
|
|
|
2022-07-25 08:33:39 -04:00
|
|
|
async function updateSplitTestBadgeInfo(name, badgeInfo) {
|
|
|
|
const splitTest = await getSplitTest({ name })
|
|
|
|
if (!splitTest) {
|
|
|
|
throw new OError(`Cannot update split test '${name}': not found`)
|
|
|
|
}
|
|
|
|
splitTest.badgeInfo = badgeInfo
|
|
|
|
return _saveSplitTest(splitTest)
|
|
|
|
}
|
|
|
|
|
2023-08-03 10:42:52 -04:00
|
|
|
async function replaceSplitTests(tests) {
|
|
|
|
_checkEnvIsSafe('replace')
|
|
|
|
|
|
|
|
try {
|
|
|
|
await _deleteSplitTests()
|
|
|
|
return await SplitTest.create(tests)
|
|
|
|
} catch (error) {
|
|
|
|
throw OError.tag(error, 'Failed to replace all split tests', { tests })
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
async function mergeSplitTests(incomingTests, overWriteLocal) {
|
|
|
|
_checkEnvIsSafe('merge')
|
|
|
|
|
|
|
|
// this is required as the query returns models, and we need all the items to be objects,
|
|
|
|
// similar to the ones we recieve as incomingTests
|
|
|
|
const localTests = await SplitTest.find({}).lean().exec()
|
|
|
|
|
|
|
|
let merged
|
|
|
|
// we preserve the state of the local tests (baseTests)
|
|
|
|
// eg: if inTest is in phase 1, and basetest is in phase 2, the merged will be in state 2
|
|
|
|
// therefore, we can have the opposite effect by swapping the order of args (overwrite locals with sent tests)
|
|
|
|
if (overWriteLocal) {
|
|
|
|
merged = _mergeFlags(localTests, incomingTests)
|
|
|
|
} else {
|
|
|
|
merged = _mergeFlags(incomingTests, localTests)
|
|
|
|
}
|
|
|
|
|
|
|
|
try {
|
|
|
|
await _deleteSplitTests()
|
|
|
|
const success = await SplitTest.create(merged)
|
|
|
|
return success
|
|
|
|
} catch (error) {
|
|
|
|
throw OError.tag(error, 'Failed to merge all split tests, merged set was', {
|
|
|
|
merged,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-05-30 05:30:46 -04:00
|
|
|
async function switchToNextPhase({ name, comment }, userId) {
|
2022-05-30 09:50:01 -04:00
|
|
|
const splitTest = await getSplitTest({ name })
|
|
|
|
if (!splitTest) {
|
2021-07-28 04:51:29 -04:00
|
|
|
throw new OError(
|
|
|
|
`Cannot switch split test with ID '${name}' to next phase: not found`
|
|
|
|
)
|
|
|
|
}
|
2022-05-30 09:50:01 -04:00
|
|
|
if (splitTest.archived) {
|
|
|
|
throw new OError('Cannot switch an archived split test to next phase', {
|
|
|
|
name,
|
|
|
|
})
|
|
|
|
}
|
2022-11-02 11:34:01 -04:00
|
|
|
const lastVersionCopy = SplitTestUtils.getCurrentVersion(splitTest).toObject()
|
2022-05-30 09:50:01 -04:00
|
|
|
lastVersionCopy.versionNumber++
|
|
|
|
if (lastVersionCopy.phase === ALPHA_PHASE) {
|
|
|
|
lastVersionCopy.phase = BETA_PHASE
|
|
|
|
} else if (lastVersionCopy.phase === BETA_PHASE) {
|
|
|
|
if (splitTest.forbidReleasePhase) {
|
|
|
|
throw new OError('Switch to release phase is disabled for this test', {
|
|
|
|
name,
|
|
|
|
})
|
|
|
|
}
|
|
|
|
lastVersionCopy.phase = RELEASE_PHASE
|
|
|
|
} else if (splitTest.phase === RELEASE_PHASE) {
|
|
|
|
throw new OError(
|
|
|
|
`Split test with ID '${name}' is already in the release phase`
|
|
|
|
)
|
|
|
|
}
|
|
|
|
for (const variant of lastVersionCopy.variants) {
|
|
|
|
variant.rolloutPercent = 0
|
|
|
|
variant.rolloutStripes = []
|
|
|
|
}
|
2023-05-30 05:30:46 -04:00
|
|
|
lastVersionCopy.author = userId
|
|
|
|
lastVersionCopy.comment = comment
|
|
|
|
lastVersionCopy.createdAt = new Date()
|
2022-05-30 09:50:01 -04:00
|
|
|
splitTest.versions.push(lastVersionCopy)
|
|
|
|
return _saveSplitTest(splitTest)
|
2021-07-28 04:51:29 -04:00
|
|
|
}
|
|
|
|
|
2023-05-30 05:30:46 -04:00
|
|
|
async function revertToPreviousVersion(
|
|
|
|
{ name, versionNumber, comment },
|
|
|
|
userId
|
|
|
|
) {
|
2022-05-30 09:50:01 -04:00
|
|
|
const splitTest = await getSplitTest({ name })
|
|
|
|
if (!splitTest) {
|
2021-07-28 04:51:29 -04:00
|
|
|
throw new OError(
|
|
|
|
`Cannot revert split test with ID '${name}' to previous version: not found`
|
|
|
|
)
|
|
|
|
}
|
2022-05-30 09:50:01 -04:00
|
|
|
if (splitTest.archived) {
|
|
|
|
throw new OError(
|
|
|
|
'Cannot revert an archived split test to previous version',
|
|
|
|
{
|
|
|
|
name,
|
|
|
|
}
|
|
|
|
)
|
|
|
|
}
|
|
|
|
if (splitTest.versions.length <= 1) {
|
|
|
|
throw new OError(
|
|
|
|
`Cannot revert split test with ID '${name}' to previous version: split test must have at least 2 versions`
|
|
|
|
)
|
|
|
|
}
|
2022-11-02 11:34:01 -04:00
|
|
|
const previousVersion = SplitTestUtils.getVersion(splitTest, versionNumber)
|
2022-05-30 09:50:01 -04:00
|
|
|
if (!previousVersion) {
|
|
|
|
throw new OError(
|
|
|
|
`Cannot revert split test with ID '${name}' to version number ${versionNumber}: version not found`
|
|
|
|
)
|
|
|
|
}
|
2022-11-02 11:34:01 -04:00
|
|
|
const lastVersion = SplitTestUtils.getCurrentVersion(splitTest)
|
2022-05-30 09:50:01 -04:00
|
|
|
if (
|
|
|
|
lastVersion.phase === RELEASE_PHASE &&
|
|
|
|
previousVersion.phase !== RELEASE_PHASE
|
|
|
|
) {
|
|
|
|
splitTest.forbidReleasePhase = true
|
|
|
|
}
|
|
|
|
const previousVersionCopy = previousVersion.toObject()
|
|
|
|
previousVersionCopy.versionNumber = lastVersion.versionNumber + 1
|
2022-12-20 11:09:39 -05:00
|
|
|
previousVersionCopy.createdAt = new Date()
|
2023-05-30 05:30:46 -04:00
|
|
|
previousVersionCopy.author = userId
|
|
|
|
previousVersionCopy.comment = comment
|
2022-05-30 09:50:01 -04:00
|
|
|
splitTest.versions.push(previousVersionCopy)
|
|
|
|
return _saveSplitTest(splitTest)
|
|
|
|
}
|
|
|
|
|
2023-05-30 05:30:46 -04:00
|
|
|
async function archive(name, userId) {
|
2022-05-30 09:50:01 -04:00
|
|
|
const splitTest = await getSplitTest({ name })
|
|
|
|
if (!splitTest) {
|
|
|
|
throw new OError(`Cannot archive split test with ID '${name}': not found`)
|
|
|
|
}
|
|
|
|
if (splitTest.archived) {
|
|
|
|
throw new OError(`Split test with ID '${name}' is already archived`)
|
|
|
|
}
|
|
|
|
splitTest.archived = true
|
2022-12-20 11:09:39 -05:00
|
|
|
splitTest.archivedAt = new Date()
|
2023-05-30 05:30:46 -04:00
|
|
|
splitTest.archivedBy = userId
|
2022-05-30 09:50:01 -04:00
|
|
|
return _saveSplitTest(splitTest)
|
2021-07-28 04:51:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
function _checkNewVariantsConfiguration(variants, newVariantsConfiguration) {
|
|
|
|
const totalRolloutPercentage = _getTotalRolloutPercentage(
|
|
|
|
newVariantsConfiguration
|
|
|
|
)
|
|
|
|
if (totalRolloutPercentage > 100) {
|
|
|
|
throw new OError(`Total variants rollout percentage cannot exceed 100`)
|
|
|
|
}
|
|
|
|
for (const variant of variants) {
|
|
|
|
const newVariantConfiguration = _.find(newVariantsConfiguration, {
|
|
|
|
name: variant.name,
|
|
|
|
})
|
|
|
|
if (!newVariantConfiguration) {
|
|
|
|
throw new OError(
|
|
|
|
`Variant defined in previous version as ${JSON.stringify(
|
|
|
|
variant
|
|
|
|
)} cannot be removed in new configuration: either set it inactive or create a new split test`
|
|
|
|
)
|
|
|
|
}
|
|
|
|
if (newVariantConfiguration.rolloutPercent < variant.rolloutPercent) {
|
|
|
|
throw new OError(
|
|
|
|
`Rollout percentage for variant defined in previous version as ${JSON.stringify(
|
|
|
|
variant
|
|
|
|
)} cannot be decreased: revert to a previous configuration instead`
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function _updateVariantsWithNewConfiguration(
|
|
|
|
variants,
|
|
|
|
newVariantsConfiguration
|
|
|
|
) {
|
|
|
|
let totalRolloutPercentage = _getTotalRolloutPercentage(variants)
|
|
|
|
const variantsCopy = _.clone(variants)
|
|
|
|
for (const newVariantConfig of newVariantsConfiguration) {
|
2022-05-30 09:50:01 -04:00
|
|
|
if (newVariantConfig.rolloutPercent === 0) {
|
|
|
|
continue
|
|
|
|
}
|
2021-07-28 04:51:29 -04:00
|
|
|
const variant = _.find(variantsCopy, { name: newVariantConfig.name })
|
|
|
|
if (!variant) {
|
|
|
|
variantsCopy.push({
|
|
|
|
name: newVariantConfig.name,
|
|
|
|
rolloutPercent: newVariantConfig.rolloutPercent,
|
|
|
|
rolloutStripes: [
|
|
|
|
{
|
|
|
|
start: totalRolloutPercentage,
|
|
|
|
end: totalRolloutPercentage + newVariantConfig.rolloutPercent,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
})
|
|
|
|
totalRolloutPercentage += newVariantConfig.rolloutPercent
|
|
|
|
} else if (variant.rolloutPercent < newVariantConfig.rolloutPercent) {
|
|
|
|
const newStripeSize =
|
|
|
|
newVariantConfig.rolloutPercent - variant.rolloutPercent
|
|
|
|
variant.rolloutPercent = newVariantConfig.rolloutPercent
|
|
|
|
variant.rolloutStripes.push({
|
|
|
|
start: totalRolloutPercentage,
|
|
|
|
end: totalRolloutPercentage + newStripeSize,
|
|
|
|
})
|
|
|
|
totalRolloutPercentage += newStripeSize
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return variantsCopy
|
|
|
|
}
|
|
|
|
|
|
|
|
function _getTotalRolloutPercentage(variants) {
|
|
|
|
return _.sumBy(variants, 'rolloutPercent')
|
|
|
|
}
|
|
|
|
|
|
|
|
async function _saveSplitTest(splitTest) {
|
|
|
|
try {
|
2023-05-30 05:30:46 -04:00
|
|
|
const savedSplitTest = await splitTest.save()
|
|
|
|
await savedSplitTest.populate('archivedBy', [
|
|
|
|
'email',
|
|
|
|
'first_name',
|
|
|
|
'last_name',
|
|
|
|
])
|
|
|
|
await savedSplitTest.populate('versions.author', [
|
|
|
|
'email',
|
|
|
|
'first_name',
|
|
|
|
'last_name',
|
|
|
|
])
|
|
|
|
return savedSplitTest.toObject()
|
2021-07-28 04:51:29 -04:00
|
|
|
} catch (error) {
|
|
|
|
throw OError.tag(error, 'Failed to save split test', {
|
|
|
|
splitTest: JSON.stringify(splitTest),
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-03 10:42:52 -04:00
|
|
|
/*
|
|
|
|
* As this is only used for utility in local dev, we want to prevent this running in any other env
|
|
|
|
* since deleting all records in staging or prod would be very bad...
|
|
|
|
*/
|
|
|
|
function _checkEnvIsSafe(operation) {
|
|
|
|
if (process.env.NODE_ENV !== 'development') {
|
|
|
|
throw OError.tag(
|
|
|
|
`attempted to ${operation} all feature flags outside of local env`
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
async function _deleteSplitTests() {
|
|
|
|
_checkEnvIsSafe('delete')
|
|
|
|
let deleted
|
|
|
|
|
|
|
|
try {
|
|
|
|
deleted = await SplitTest.deleteMany({}).exec()
|
|
|
|
} catch (error) {
|
|
|
|
throw OError.tag('Failed to delete all split tests')
|
|
|
|
}
|
|
|
|
|
|
|
|
if (!deleted.acknowledged) {
|
|
|
|
throw OError.tag('Error deleting split tests, split tests have not updated')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
function _mergeFlags(incomingTests, baseTests) {
|
|
|
|
// copy all base versions
|
|
|
|
const mergedSet = baseTests.map(test => test)
|
|
|
|
for (const inTest of incomingTests) {
|
|
|
|
// since name is a unique key, we can use it to compare
|
|
|
|
const newFeatureFlag = !mergedSet.some(bTest => bTest.name === inTest.name)
|
|
|
|
// only add new feature flags, instead of overwriting ones in baseTests, meaning baseTests take precendence
|
|
|
|
if (newFeatureFlag) {
|
|
|
|
mergedSet.push(inTest)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return mergedSet
|
|
|
|
}
|
|
|
|
|
2021-07-28 04:51:29 -04:00
|
|
|
module.exports = {
|
2022-05-30 09:50:01 -04:00
|
|
|
getSplitTest,
|
2021-07-28 04:51:29 -04:00
|
|
|
getSplitTests,
|
|
|
|
createSplitTest,
|
2022-01-28 05:44:10 -05:00
|
|
|
updateSplitTestConfig,
|
|
|
|
updateSplitTestInfo,
|
2022-07-25 08:33:39 -04:00
|
|
|
updateSplitTestBadgeInfo,
|
2021-07-28 04:51:29 -04:00
|
|
|
switchToNextPhase,
|
|
|
|
revertToPreviousVersion,
|
2022-05-30 09:50:01 -04:00
|
|
|
archive,
|
2023-08-03 10:42:52 -04:00
|
|
|
replaceSplitTests,
|
|
|
|
mergeSplitTests,
|
2021-07-28 04:51:29 -04:00
|
|
|
}
|