diff --git a/test/e2e/live/registry-targets.test.ts b/test/e2e/live/registry-targets.test.ts index 2379a61ddef..80f1063f663 100644 --- a/test/e2e/live/registry-targets.test.ts +++ b/test/e2e/live/registry-targets.test.ts @@ -14,7 +14,6 @@ import { } from "../fixtures/phases/index.ts"; import { listTargets, requireTargets } from "../registry/registry.ts"; import { liveTargetSupport, liveTargetTestTitle } from "../registry/runtime-support.ts"; -import { cloudExperimentalChecksForOnboarding } from "./cloud-experimental-check-list.ts"; import { runE2eCloudExperimentalChecks } from "./cloud-experimental-checks.ts"; import { captureDcodeBaseImageRuntimeEvidence, @@ -176,14 +175,6 @@ for (const [targetIndex, target] of listTargets().entries()) { progress.phase("run target-specific cloud checks"); const checkScripts = runPlan.e2eCloudExperimentalChecks ?? []; - expect(checkScripts).toEqual( - cloudExperimentalChecksForOnboarding(target.environment.onboarding), - ); - expect( - checkScripts.every((scriptPath) => - Object.is(fs.existsSync(path.join(REPO_ROOT, scriptPath)), true), - ), - ).toBe(true); expect(fs.existsSync(E2E_CLOUD_EXPERIMENTAL_CHECKS_DIR)).toBe(true); await runE2eCloudExperimentalChecks(target.id, instance.sandboxName, checkScripts, { artifacts, diff --git a/test/e2e/support/e2e-live-registry-discovery.test.ts b/test/e2e/support/e2e-live-registry-discovery.test.ts index 2e3aa6ab775..26fb27cf398 100644 --- a/test/e2e/support/e2e-live-registry-discovery.test.ts +++ b/test/e2e/support/e2e-live-registry-discovery.test.ts @@ -3,6 +3,7 @@ import { describe, expect, it } from "vitest"; +import { DEEPAGENTS_CLOUD_EXPERIMENTAL_CHECKS } from "../live/cloud-experimental-check-list.ts"; import { buildLiveTargetRunPlan } from "../live/run-plan.ts"; import { target } from "../registry/builder.ts"; import { liveTargetInventoryEntry } from "../registry/run.ts"; @@ -104,6 +105,11 @@ describe("live target registry discovery support", () => { suiteIds: registered.suiteIds, phases: ["environment", "onboarding", "state-validation"], }); + const deepAgents = { ...SUPPORTED_ENVIRONMENT, onboarding: "cloud-langchain-deepagents-code" }; + + expect(buildLiveTargetRunPlan(syntheticTarget(deepAgents)).e2eCloudExperimentalChecks).toEqual( + DEEPAGENTS_CLOUD_EXPERIMENTAL_CHECKS, + ); }); it("inserts lifecycle execution only when the synthetic target requests it", () => {