mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-13 21:53:43 +01:00
[history-v1] add endpoint for downloading latest zip (#33181)
* [history-v1] add endpoint for downloading latest zip * [web] address review feedback * [web] tests: do not overwrite db.projects.overleaf, extend it * [web] set includeReferer flag from downloading zip GitOrigin-RevId: e63e549f004230086f82eccf03b43fd62bde6071
This commit is contained in:
@@ -163,6 +163,26 @@ export async function provisionSplitTests(merge = false, extraSplitTests = []) {
|
||||
'utf-8'
|
||||
)
|
||||
)
|
||||
// Add WIP split test, we can update the JSON blob once this is in production
|
||||
SPLIT_TESTS.push({
|
||||
name: 'zip-from-history',
|
||||
versions: [
|
||||
{
|
||||
versionNumber: 1,
|
||||
createdAt: '2026-02-25T14:55:31.260Z',
|
||||
active: true,
|
||||
analyticsEnabled: false,
|
||||
phase: 'release',
|
||||
variants: [
|
||||
{
|
||||
name: 'enabled',
|
||||
rolloutPercent: 0,
|
||||
rolloutStripes: [],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
})
|
||||
console.log(`> Importing ${SPLIT_TESTS.length} split-tests from production.`)
|
||||
if (merge) {
|
||||
await SplitTestManager.mergeSplitTests(SPLIT_TESTS, false)
|
||||
|
||||
Reference in New Issue
Block a user