overleaf/services/web/test/frontend
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
..
components [web] Remove split-tests compile-backend-class* and compile-timeout-20s* (#17700) 2024-04-15 08:04:24 +00:00
features Merge pull request #17815 from overleaf/ar-allow-labels-to-be-added-in-label-list 2024-04-11 08:03:43 +00:00
helpers Merge pull request #16397 from overleaf/mj-logparser-missed-error 2024-01-08 09:04:35 +00:00
ide Merge pull request #16397 from overleaf/mj-logparser-missed-error 2024-01-08 09:04:35 +00:00
infrastructure Removing Exclamation mark from the Welcome to overleaf translations. (#16098) 2023-12-08 09:04:06 +00:00
shared Merge pull request #15249 from overleaf/rd-odc-radio 2023-11-02 08:52:52 +00:00
utils Merge pull request #4305 from overleaf/jpa-fix-undef 2021-07-14 12:40:42 +00:00
bootstrap.js Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00
cut-log-noise.js Merge pull request #14980 from overleaf/jpa-debug-console 2023-09-28 08:04:12 +00:00
prop-types.test.js Merge pull request #5709 from overleaf/ae-fail-prop-types-tests 2021-11-16 09:02:54 +00:00