From 7b6565c98fe8dea89e0229966b064d092095d440 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Fri, 10 Oct 2025 08:38:21 +0100 Subject: [PATCH] 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 --- services/web/app/src/Features/Compile/ClsiManager.mjs | 1 + services/web/app/src/router.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/app/src/Features/Compile/ClsiManager.mjs b/services/web/app/src/Features/Compile/ClsiManager.mjs index 0a4c327a42..ffb8c5025a 100644 --- a/services/web/app/src/Features/Compile/ClsiManager.mjs +++ b/services/web/app/src/Features/Compile/ClsiManager.mjs @@ -880,6 +880,7 @@ function _finaliseRequest(projectId, options, project, docs, files) { pdfCachingMinChunkSize: options.pdfCachingMinChunkSize, flags, metricsMethod: options.compileGroup, + metricsPath: options.metricsPath, }, rootResourcePath, resources, diff --git a/services/web/app/src/router.mjs b/services/web/app/src/router.mjs index 5265cae6d4..b3298b5645 100644 --- a/services/web/app/src/router.mjs +++ b/services/web/app/src/router.mjs @@ -1159,7 +1159,7 @@ async function initialize(webRouter, privateApiRouter, publicApiRouter) { CompileManager.compile( projectId, testUserId, - {}, + { metricsPath: 'health-check' }, function (error, status, _outputFiles, clsiServerId) { if (handler) { clearTimeout(handler)