From 010ab5c01e0b8b5be7f82b6038dd667fd026e5af Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 23:20:13 +0000 Subject: [PATCH] fix(ci): copy torch-config.mjs to test fixture - Fixes `ERR_MODULE_NOT_FOUND` in scheduler-preflight-lock e2e tests - Ensures scheduler configuration module is available in the test temp directory Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- test/scheduler-preflight-lock.e2e.test.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/scheduler-preflight-lock.e2e.test.mjs b/test/scheduler-preflight-lock.e2e.test.mjs index be8ecee..e39ffcb 100644 --- a/test/scheduler-preflight-lock.e2e.test.mjs +++ b/test/scheduler-preflight-lock.e2e.test.mjs @@ -47,6 +47,7 @@ async function setupFixture({ lockShellBody = ':', schedulerPolicy = {} }) { await fs.copyFile(path.resolve('scripts/agent/scheduler-lock.mjs'), path.join(scriptsDir, 'scheduler-lock.mjs')); await fs.copyFile(path.resolve('src/utils.mjs'), path.join(root, 'src', 'utils.mjs')); await fs.copyFile(path.resolve('src/constants.mjs'), path.join(root, 'src', 'constants.mjs')); + await fs.copyFile(path.resolve('src/torch-config.mjs'), path.join(root, 'src', 'torch-config.mjs')); await fs.writeFile( path.join(scriptsDir, 'verify-run-artifacts.mjs'), '#!/usr/bin/env node\nprocess.exit(0);\n',