[web] double compile 10% of free projects on c2d (#28303)

GitOrigin-RevId: 2cb303881e61e31aa77be3c053eeac0d4b30412f
This commit is contained in:
Jakob Ackermann
2025-09-05 09:59:37 +02:00
committed by Copybot
parent e0c0180d68
commit 644db1722e

View File

@@ -439,8 +439,7 @@ async function _makeNewBackendRequest(
url.toString().replace(Settings.apis.clsi.url, Settings.apis.clsi_new.url)
)
// Sample x% of premium compile projects to move up one bracket.
if (currentCompileBackendClass !== 'c2d') return null
// Sample x% of projects to move up one bracket.
if (
SplitTestHandler.getPercentile(projectId, 'double-compile', 'release') >=
Settings.apis.clsi_new.sample