[server-pro] extend hotfix 5.5.5: avoid creating user_files directory (#28738)

* [WIP] restore 100_make_overleaf_data_dirs.sh

* [WIP] patch for hotfix 5.5.5

* Revert "[WIP] patch for hotfix 5.5.5"

This reverts commit cc83a526ecd86ed7b1a0e061b074d2fb15d4d672.

* Revert "[WIP] restore 100_make_overleaf_data_dirs.sh"

This reverts commit e9b0597fe8451e9ef1deaf7ed31790f7d7fc996e.

* [server-pro] extend hotfix 5.5.5: avoid creating user_files directory

* [server-ce] run binary files migration in CI

GitOrigin-RevId: ac5bb86df92b441201c69dfac6b302058b501d8e
This commit is contained in:
Jakob Ackermann
2025-09-26 18:52:14 +02:00
committed by Copybot
parent 84e4808812
commit e05ec0321b
8 changed files with 64 additions and 7 deletions
+1
View File
@@ -15,6 +15,7 @@ export function isExcludedBySharding(
| 'PRO_CUSTOM_2'
| 'PRO_CUSTOM_3'
| 'PRO_CUSTOM_4'
| 'PRO_CUSTOM_5'
) {
const SHARD = Cypress.env('SHARD')
return SHARD && shard !== SHARD
+3 -1
View File
@@ -122,9 +122,11 @@ export async function setMongoFeatureCompatibilityVersion(
}
export async function purgeFilestoreData() {
await fetchJSON(`${hostAdminURL}/data/user_files`, {
const { stdout } = await fetchJSON(`${hostAdminURL}/data/user_files`, {
method: 'DELETE',
})
if (!stdout.trim()) return []
return stdout.trim().split('\n')
}
async function sleep(ms: number) {