mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
test(gateway): follow worker service construction boundary
This commit is contained in:
@@ -214,7 +214,10 @@ describe("gateway startup import boundaries", () => {
|
||||
const workerStartup = readSource("src/gateway/server-worker-environment-startup.ts");
|
||||
const runtimeLoad = "loadWorkerEnvironmentRuntimeModule()";
|
||||
const prepareStart = workerStartup.indexOf("const prepareInstallation = async");
|
||||
const serviceStart = workerStartup.indexOf("const workerEnvironmentService =", prepareStart);
|
||||
const serviceStart = workerStartup.indexOf(
|
||||
"const workerEnvironmentServiceBase =",
|
||||
prepareStart,
|
||||
);
|
||||
const identityStart = workerStartup.indexOf("resolveSshIdentity: async", serviceStart);
|
||||
const bootstrapStart = workerStartup.indexOf("bootstrapWorker: async", serviceStart);
|
||||
const loggerStart = workerStartup.indexOf("logger: params.log.child", bootstrapStart);
|
||||
|
||||
Reference in New Issue
Block a user