mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
[web] integrate clsi-cache into download pdf from project dashboard (#31138)
* [monorepo] fix downloads from non-sharded clsi-cache * [web] check some compile from cache options server-side * [web] integrate clsi-cache into download pdf from project dashboard * [web] remove frontend tests for server-side validation * [web] remove unused fetch mock * [web] use helper that adds polyfill for AbortSignal.any() * [web] upgrade fetch-mock to fix leaking AbortSignal * [web] do not add an extra timeout to clsi-cache request The web backend service has a low timeout already. GitOrigin-RevId: a90984b92f5d4f24005db5a09f2c5d2424436886
This commit is contained in:
@@ -398,8 +398,6 @@ export const LocalCompileProvider: FC<React.PropsWithChildren> = ({
|
||||
const rootDocOverride = compiler.getRootDocOverrideId() || rootDocId
|
||||
settingsUpToDate =
|
||||
rootDocOverride === dataFromCache.rootDocId &&
|
||||
dataFromCache.options.imageName === imageName &&
|
||||
dataFromCache.options.compiler === compilerName &&
|
||||
dataFromCache.options.draft === draft &&
|
||||
// Allow stopOnFirstError to be enabled in the compile from cache and disabled locally.
|
||||
// Compiles that passed with stopOnFirstError=true will also pass with stopOnFirstError=false. The inverse does not hold, and we need to recompile.
|
||||
|
||||
Reference in New Issue
Block a user