overleaf/services
Antoine Clausse 2dd10c7fee [web] Remove split-tests compile-backend-class* and compile-timeout-20s* (#17700)
* Remove split-tests of `compile-timeout-20s` and `compile-timeout-20s-existing-users`

* Remove `NEW_COMPILE_TIMEOUT_ENFORCED_CUTOFF` variables

* Revert timeout override `60` -> `20`

* Update settings.overrides.saas.js: `compileTimeout: 20`

* Remove `compile-backend-class-n2d`

* Remove `force_new_compile_timeout`

* Remove `showNewCompileTimeoutUI`

* Remove `compileTimeChanging`

* Simplify code by removing segmentation object

* Remove `CompileTimeoutChangingSoon`

* Remove `user.features.compileTimeout = '20 (with 10s prompt)'`

* Remove `CompileTimeWarning`

* Remove `TimeoutUpgradePrompt` (old)

* Remove `compile-backend-class`

* Remove unused translations

* Update tests

* Fix: Show `CompileTimeout` even if `!window.ExposedSettings.enableSubscriptions`

* Create script to migrate users to 20s compileTimeout

* migration script: exclude `compileTimeout: 20` from the match

* migration script: use `batchedUpdate`

* Remove `showFasterCompilesFeedbackUI` and `FasterCompilesFeedback`

Helped-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Remove `_getCompileBackendClassDetails`, simplify definition of `limits` object

* Remove `Settings.apis.clsi.defaultBackendClass`

* Remove unnecessary second scan of the whole user collection in dry mode

* Override `timeout` to 20 for users having `compileGroup === 'standard' && compileTimeout <= 60`

* Remove second `logCount`: re-run the script in dry-mode if you want to see that count

* Use secondary readPreference when counting users

* Fix script setup and exit 0

* Fix: Remove `user.` from query path!

* Add acceptance test on script migration_compile_timeout_60s_to_20s.js

GitOrigin-RevId: 3cb65130e6d7fbd9c54005f4c213066d0473e9d8
2024-04-15 08:04:24 +00:00
..
chat Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
clsi Merge pull request #17874 from overleaf/jpa-ol-project-id-in-env 2024-04-12 08:04:56 +00:00
contacts Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
docstore Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
document-updater Send operations to project-history when resolving/unresolving comments (#17540) 2024-04-10 08:04:08 +00:00
filestore Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
git-bridge Merge pull request #15241 from overleaf/em-gcp-opentelemetry 2023-10-19 08:02:52 +00:00
history-v1 Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
notifications Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
project-history Merge pull request #17735 from overleaf/em-promisify-web-api-manager 2024-04-12 08:05:39 +00:00
real-time Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
spelling Merge pull request #17748 from overleaf/bg-node-security-upgrade-2024-04-05 2024-04-08 08:04:41 +00:00
web [web] Remove split-tests compile-backend-class* and compile-timeout-20s* (#17700) 2024-04-15 08:04:24 +00:00