Andrew Rumble
0f4d5a7be6
Rename files
...
GitOrigin-RevId: 80b975b03ebca16328b84fabf11e71bbea87c8bc
2025-11-06 09:05:41 +00:00
Jakob Ackermann
3586b37491
[web] Remove clsi-cache-prompt/survey, split-tests and events ( #29510 )
...
* [web] Remove clsi-cache-prompt/survey and split-tests
* [web] Remove initial 50/50 clsi-cache split-test
* [web] Remove synctex-downloaded-from-cache event
* [web] Remove fallback-to-clsi-cache event
* [saas-e2e] fix tests with clsi-cache enabled
GitOrigin-RevId: b5cf2ab073dc866fe398b81fd5afe46422134c80
2025-11-05 09:06:59 +00:00
Jakob Ackermann
a80b69abe5
[web] move free compiles up one bracket ( #29411 )
...
GitOrigin-RevId: 613b703d677d91110cd6dcf085e9291008e05f5c
2025-11-03 09:05:23 +00:00
Jakob Ackermann
3a206074f2
[web] move premium compiles up one bracket ( #29410 )
...
GitOrigin-RevId: 53423f855b2c215f6cc926b480422b2ce3477a74
2025-10-31 09:06:32 +00:00
Jakob Ackermann
d056ee5b74
[web] enable compileFromClsiCache independent of clsi-cache-prompt ( #29366 )
...
The split test is active now and .active is only set in the dev-env.
GitOrigin-RevId: ed4a379e2144c2a08497eb0cf42ef16077f7ad27
2025-10-29 09:06:04 +00:00
Jakob Ackermann
28c1c7db37
[clsi-cache] add circuit breaker to clsi-cache requests ( #29339 )
...
Stage timeouts:
- frontend waits 5s
- web/clsi waits 4s
- clsi-cache waits 3s
This should ensure that the frontend can receive a valid response after
any of the backend requests failed.
The circuit breaker will remain closed for TIMEOUT + jitter of 0-3 times
the TIMEOUT of the respective service. This should avoid the bulk of
traffic to fail and occasionally issue retries without hammering the
instances while down.
Also do not try the next backend when the abort signal has expired.
GitOrigin-RevId: d612125616a9e416beff2f4c6d7f30066b5b9d6d
2025-10-29 09:05:34 +00:00
Jakob Ackermann
45ad16445f
[web] do not show clsi-cache prompts/survey in free projects ( #29302 )
...
GitOrigin-RevId: fe60952e14503884570d3e27fb274fbb7c6b6620
2025-10-24 08:05:46 +00:00
Jakob Ackermann
f3f6a8a8e0
[web] add clsi-cache prompts ( #29281 )
...
* [web] add clsi-cache prompts
* [web] add new editor variant to segmentation
* [web] add tests for useNewEditorVariant
* [web] adjust start of using clsi-cache in split-test
GitOrigin-RevId: c9c5b1eff2ceefb65ef82516d9074cb971cb4c48
2025-10-24 08:05:42 +00:00
Andrew Rumble
7bda755d0e
Convert to ESM
...
GitOrigin-RevId: 572dafeaddea99be28ec1e1116e49aaf203be340
2025-10-23 08:06:20 +00:00
Andrew Rumble
f02f6475ac
Update paths
...
GitOrigin-RevId: a9474c8f36e8b287de4dd8fda29bc082001444ac
2025-10-23 08:06:10 +00:00
Andrew Rumble
0d73904c4b
Rename files
...
GitOrigin-RevId: 7e8fde9258e71ab3649d1d83addeb5164d8b4251
2025-10-23 08:06:05 +00:00
Jakob Ackermann
02391c6c51
[clsi] prepare for clsi-cache survey ( #29274 )
...
* [clsi] add stats and timings to compile response from clsi-cache
* [clsi] set downloadedFromCache when previously downloaded for synctex
Assumption: every compile will emit an output.log. When the output.log
is missing, but the output.synctex.gz exists, it must have been
downloaded from the cache.
GitOrigin-RevId: 41ea34880931e3c43dda3bc9eb26c0d02054894d
2025-10-23 08:05:43 +00:00
Jakob Ackermann
93526bec96
[web] pre-populate clsi-cache ahead of showing survey ( #29221 )
...
* [web] pre-populate clsi-cache ahead of showing survey
* [web] tweak variant checks
Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com >
---------
Co-authored-by: Mathias Jakobsen <mathias.jakobsen@overleaf.com >
GitOrigin-RevId: 749a7a1c3b21ef2e46bc86a74631e004069c5806
2025-10-21 08:06:25 +00:00
Andrew Rumble
3d3be18f57
Features ESM conversion
...
GitOrigin-RevId: d659326723a90ac0789f4f7acc7f00aa9eaa63e2
2025-10-21 08:05:51 +00:00
Andrew Rumble
e909995ce0
Rename features files
...
GitOrigin-RevId: fc4ce037343b02d002fa07b7cdc283f2d7d4f89b
2025-10-21 08:05:47 +00:00
Jakob Ackermann
ad3e8bd65d
[web] fix clearing of clsi persistence during migration to new key ( #29172 )
...
GitOrigin-RevId: 1d9e6eb87f8f27792fdc866e7dcc29b47e1b2547
2025-10-17 08:06:06 +00:00
Jakob Ackermann
706971ef41
[web] shard compile server persistence by compileBackendClass ( #29156 )
...
* [web] shard compile server persistence by compileBackendClass
* [web] make prettier happy
GitOrigin-RevId: d7cf8bde07e7110053d9d7531c007111af5cc46b
2025-10-17 08:06:02 +00:00
MoxAmber
986a728569
Merge pull request #28895 from overleaf/as-promisify-clsiformatchecker
...
Promisify ClsiFormatChecker and tests
GitOrigin-RevId: 89196708b97ff936660cc50a0b31f549d9723c4b
2025-10-17 08:05:40 +00:00
Jakob Ackermann
fbea855690
[web] switch dark compiles to n4 ( #29133 )
...
* [clsi-perf] run compiles on any backend with prefix clsi_compile
* [clsi-lb] add n4 backend
* [terraform] clsi: add n4 instances
* [web] switch dark compiles to n4
* [terraform] clsi: remove c4d instances
* [terraform] clsi: scale up n4 instances
GitOrigin-RevId: 8f2d98ef6c3c503366c92c4f148a8dd7394cebd2
2025-10-16 08:07:21 +00:00
Brian Gough
7b6565c98f
Merge pull request #28946 from overleaf/bg-set-health-check-flag-on-compile-status-requests
...
set health-check flag on compile status requests
GitOrigin-RevId: 56decc98aecf7fa5e12f99efc39ef38915ceebe2
2025-10-10 08:06:28 +00:00
Antoine Clausse
33e63d79fc
Merge pull request #28584 from overleaf/ac-some-web-esm-migration-5
...
[web] Convert some Features files to ES modules (part 5)
GitOrigin-RevId: 0cad67f9afe0095e2b066bf2f4d3717c00540dab
2025-10-08 08:06:15 +00:00
Antoine Clausse
46715191e3
Merge pull request #28544 from overleaf/ac-some-web-esm-migration-4
...
[web] Convert some Features files to ES modules (part 4)
GitOrigin-RevId: cf11a7584e39c4d4de08e2f924240e488a4066c4
2025-09-24 08:05:58 +00:00
MoxAmber
e2a704ea93
Merge pull request #28346 from overleaf/as-compile-timeout-teardown
...
[web] Teardown 10s-timeout-enforcement split test
GitOrigin-RevId: 56b286539446e7dab371fb1c7392692cabb15db9
2025-09-18 08:06:14 +00:00
Antoine Clausse
71f0b28a84
[web] Convert some Features files to ES modules (part 3) ( #28494 )
...
* Rename files to mjs
* Rename test files to mjs
* Update CODEOWNERS
* Update files to ESM
* Update test files to ESM
* Update RestoreManager.test.mjs
* Remove unused `AdminAuthorizationHelper` mock and stub
* Remove unnecessary return
GitOrigin-RevId: 2b9ef126de1d8964afbc6e5641cca36712655866
2025-09-17 08:05:02 +00:00
Andrew Rumble
7f908915aa
Merge pull request #28367 from overleaf/ar-migrate-routermjs-to-zod
...
[web] migrate router.mjs to zod
GitOrigin-RevId: d3fc21a11351f3e2deb5011cd1beeb86286a300b
2025-09-16 08:05:26 +00:00
Jakob Ackermann
d96cd7d251
[web] bring back sampling for compile-result-backend event ( #28383 )
...
GitOrigin-RevId: beec70b77d7ceb8b97d5cb4176bcde7c41cb073f
2025-09-10 08:06:28 +00:00
Antoine Clausse
009bc4463d
Merge pull request #28273 from overleaf/ac-some-web-esm-migration
...
[web] Convert some Features files to ES modules (part 1)
GitOrigin-RevId: d19b024efad315143e022143e2a2683df8071744
2025-09-09 08:06:22 +00:00
Jakob Ackermann
644db1722e
[web] double compile 10% of free projects on c2d ( #28303 )
...
GitOrigin-RevId: 2cb303881e61e31aa77be3c053eeac0d4b30412f
2025-09-05 08:06:41 +00:00
Jakob Ackermann
16422f972b
Merge pull request #28265 from overleaf/jpa-double-compile
...
[web] add c2d -> c4d double compile test
GitOrigin-RevId: 186cfa867d3db5786c6d4888dfe1ca2f46a5bb0c
2025-09-04 08:05:10 +00:00
Jakob Ackermann
03320bb377
Merge pull request #28264 from overleaf/jpa-synctex
...
[web] use standard request handling for SyncTeX requests
GitOrigin-RevId: ad5ba1834241d5939675f2533940ade741fc5abf
2025-09-04 08:05:06 +00:00
Jakob Ackermann
a85b2b34f5
Merge pull request #28233 from overleaf/jpa-clsi-lb-clear
...
[web] clear clsi server id/output files in both clsi-lb backends
GitOrigin-RevId: b73ccc2017800d9abbb8f571efeb34f51c9f96c1
2025-09-04 08:04:58 +00:00
Mathias Jakobsen
2747d494bc
Merge pull request #28208 from overleaf/mj-compile-events-draft
...
[web] Add draft mode to compile event segmentation
GitOrigin-RevId: 3dfc460da43e0164c7a1902cc841cc490bcfe591
2025-09-02 08:05:01 +00:00
Jakob Ackermann
bd4130c147
[filestore] remove user files endpoints ( #28125 )
...
* [filestore] remove user files endpoints
* [web] remove user files integration for filestore
GitOrigin-RevId: 565fa68a659c07420ee6141d0f276b4e4d2972e0
2025-09-02 08:04:52 +00:00
MoxAmber
fc5ae92be1
Merge pull request #27677 from overleaf/as-compile-timeout-enforcement
...
[web] 10s Compile Timeout - Enforcement Phase
GitOrigin-RevId: 3930eb376cc1293409259e073032218e09d5270e
2025-08-20 08:06:01 +00:00
Jakob Ackermann
29045b9085
[web] download binary files in clsi from filestore via new endpoints ( #27505 )
...
* [history-v1] use String.padStart instead of lodash.padStart
* [web] download binary files in clsi from filestore via new endpoints
* [server-ce] tests: Cypress.env() is parsing boolean values
* [server-ce] tests: run history migration as root
GitOrigin-RevId: bdf6c0e542531ccc4b3f13d2ed68ca0d31e580e9
2025-07-31 08:05:28 +00:00
Jakob Ackermann
8c39add865
[clsi-cache] meter ingress and egress bandwidth ( #27143 )
...
* [mics] fix "app" label in clsi-cache metrics in dev-env
* [clsi-cache] validate filePath when processing file
* [clsi-cache] meter ingress and egress bandwidth
Files are downloaded directly from nginx, hence we cannot meter egress
in clsi-cache easily.
GitOrigin-RevId: 24de8c41728f0e9c984113c1470dec6153e75f20
2025-07-16 08:05:59 +00:00
Jakob Ackermann
95b5c1f659
[terraform] clsi: add C4D trial ( #27033 )
...
* [terraform] clsi: add C4D trial
* [terraform] clsi: make SPOT instance setup idempotent
GitOrigin-RevId: 19d5cf0b1f3aaaa967a2b1e78eba77fc1887cc65
2025-07-11 08:05:36 +00:00
Jakob Ackermann
9fc0373fab
[terraform] clsi: add C3D trial ( #26929 )
...
* [terraform] clsi: add C3D trial
* [terraform] clsi: switch C3D to standard variant with local SSD
GitOrigin-RevId: 6e6ceeb93ee94800d8ce46557322da82dc99fc2a
2025-07-09 08:06:10 +00:00
Mathias Jakobsen
56232b48a7
Merge pull request #26827 from overleaf/mj-zip-download-name
...
[web] Sanitise project name in zip download
GitOrigin-RevId: 3b22da84002f57e3965c529c673344af04db9128
2025-07-08 08:06:26 +00:00
Alf Eaton
58303de9f4
Enable full project search in Community Edition and Server Pro ( #25753 )
...
GitOrigin-RevId: 1def9c3e190c907d41b7f822831e12c8609e9c7c
2025-07-03 08:05:52 +00:00
Eric Mc Sween
17d1b0b8d6
Merge pull request #25646 from overleaf/em-ds-mobile-app-compile
...
Compile endpoint for the DS mobile app
GitOrigin-RevId: 2fd9f4a6e8c2ed4ee868b0c1293f6760b9d113c8
2025-05-21 08:06:36 +00:00
Jakob Ackermann
59f614a41b
[web] use the common split-test for clsi-cache when cloning ( #25644 )
...
GitOrigin-RevId: 30377d69a9e1be11261eb6076f8996e71090fb9e
2025-05-16 08:05:07 +00:00
Jakob Ackermann
ec1bd69605
[clsi-cache] remove non sharded instances ( #25645 )
...
* Revert "[clsi-cache] only use sharding from updated project editor tabs (#25326 )"
This reverts commit 1754276bed3186c0536055c983e32476cc90d416.
* [clsi-cache] remove non sharded instances
GitOrigin-RevId: aa3ac46140dfc1722a3350cf7071e5b11af61199
2025-05-16 08:05:02 +00:00
Jakob Ackermann
eebda2427e
[clsi-cache] fix path traversal ( #25585 )
...
* [clsi-cache] fix path traversal
* [clsi-cache] double down on path traversal validation
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
---------
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
GitOrigin-RevId: 28a6a2024aae81e9b361db7918dc0c5381cd8246
2025-05-14 08:06:54 +00:00
Jakob Ackermann
e25a69936e
[clsi-cache] base64 encode X-All-Files header if needed ( #25579 )
...
* [clsi-cache] base64 encode X-All-Files header if needed
* [clsi-cache] add explicit error check
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
---------
Co-authored-by: Brian Gough <brian.gough@overleaf.com >
GitOrigin-RevId: bd3b6381b68398aac4a07e48cd69e6aa97e94f18
2025-05-14 08:06:49 +00:00
Jakob Ackermann
fba8f776a1
[web] avoid trying to fetch synctex.gz from clsi-cache in free projects ( #25445 )
...
* [web] avoid trying to fetch synctex.gz from clsi-cache in free projects
* [clsi] parse boolean query parameter
GitOrigin-RevId: 99c98aac8147a626b704e9a888b7fc660cc5ab17
2025-05-12 08:05:24 +00:00
Jakob Ackermann
8d4f258494
[web] retry fetching initial compile from cache response ( #25436 )
...
* [web] move building of compile from cache response into manager
* [web] retry fetching initial compile from cache response
GitOrigin-RevId: b4dc89f1b91d99e869c0c7789881dc72d8a5761f
2025-05-09 08:05:55 +00:00
Jakob Ackermann
b3a1341545
[web] settle on a single split-test for the clsi-cache rollout ( #25399 )
...
* [web] settle on a single split-test for the clsi-cache rollout
Use the split-test that was used for rolling out the writes so that we
can use their already populated caches.
* [clsi-cache] fix non-sharded clsi-cache in dev-env
GitOrigin-RevId: 6ebd6369183342fe6d5e325b760d011fd1d57516
2025-05-08 08:06:37 +00:00
Jakob Ackermann
e4156e19b8
[web] use raw compile timeout in compile-result-backend event ( #25141 )
...
The alias was broken following the 60s -> 20s compile timeout change.
GitOrigin-RevId: c2172090e17be60490adaae245a1f0b045e93cf1
2025-05-08 08:05:14 +00:00
Antoine Clausse
bc4c3c4ef8
[web] Promisify ClsiCookieManager and CompileController (reapply again) ( #25280 )
...
* Reapply "[web] Promisify ClsiCookieManager and CompileController (reapply and fix)"
This reverts commit 98cb9127ff2b7c7c347c560766f749265d712490.
* Fix: Use query parameters correctly (!!)
* Add unit test on `checkIsLoadSheddingEvent`
* Remove interference between tests: rename to `ClsiCookieManager2` when it's re-sandboxed
* Add test: 'should report "cycle" when other is UP'
GitOrigin-RevId: 3146b149954b908830226cb03b51d9adfa08ec2e
2025-05-07 08:07:07 +00:00