overleaf/services/web/frontend/js
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
..
directives Remove MathJax v2 (#16961) 2024-02-09 09:06:42 +00:00
features [web] Remove split-tests compile-backend-class* and compile-timeout-20s* (#17700) 2024-04-15 08:04:24 +00:00
ide Send operations to project-history when resolving/unresolving comments (#17540) 2024-04-10 08:04:08 +00:00
infrastructure Merge pull request #16608 from overleaf/jpa-writefull-double-loaded 2024-01-24 09:03:47 +00:00
main Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
modules Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
pages Merge pull request #17664 from overleaf/dp-plans-page-anchor-tags 2024-03-29 09:04:34 +00:00
services Remove unused Angular code from "main" and "ide" endpoints (#15868) 2023-12-06 09:04:45 +00:00
shared [web] Remove split-tests compile-backend-class* and compile-timeout-20s* (#17700) 2024-04-15 08:04:24 +00:00
utils Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00
vendor/libs Merge pull request #16184 from overleaf/ae-sharejs-esm 2023-12-15 09:03:35 +00:00
base.js Remove MathJax v2 (#16961) 2024-02-09 09:06:42 +00:00
dev-toolbar.js Merge pull request #15808 from overleaf/ab-split-test-dev-toolbar 2023-11-24 09:04:40 +00:00
i18n.js Disable transSupportBasicHtmlNodes in react-i18next config (#15430) 2023-10-31 09:04:04 +00:00
ide-detached.js Merge pull request #7034 from overleaf/ta-pdf-detach-full 2022-04-05 12:19:23 +00:00
ide.js Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00
libraries.js Merge pull request #15385 from overleaf/jpa-remove-fetch-polyfill 2023-10-25 08:04:12 +00:00
main.js Remove CDN load test (#17308) 2024-02-27 17:01:56 +00:00
marketing.js Merge pull request #17571 from overleaf/mf-website-redesign-login 2024-03-28 09:04:29 +00:00
tracing.js Merge pull request #10279 from overleaf/jpa-tracing-optimizations 2022-11-04 09:05:00 +00:00