From a1ca1dbff4724dad9274d14682854d4cacf8335f Mon Sep 17 00:00:00 2001 From: Codex Date: Sun, 24 May 2026 03:15:05 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=B0=86=20Code=20Queue=20DEV=20artifac?= =?UTF-8?q?t=20=E6=8C=87=E5=90=91=20skills=20=E6=8A=95=E5=BD=B1=E6=8F=90?= =?UTF-8?q?=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.json | 2 +- scripts/code-queue-runner-skills-contract-test.ts | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/deploy.json b/deploy.json index b64de6bf..1d97ed3d 100644 --- a/deploy.json +++ b/deploy.json @@ -237,7 +237,7 @@ { "id": "code-queue", "repo": "https://github.com/pikasTech/unidesk", - "commitId": "e62f1c21d43a58f73f70516920814ca90f994df8", + "commitId": "62c613eefc84292fe1874a837685b073ac6c7295", "artifact": { "kind": "source-build", "repository": "unidesk/code-queue", diff --git a/scripts/code-queue-runner-skills-contract-test.ts b/scripts/code-queue-runner-skills-contract-test.ts index c4e6c7fe..b33ef1b6 100644 --- a/scripts/code-queue-runner-skills-contract-test.ts +++ b/scripts/code-queue-runner-skills-contract-test.ts @@ -103,6 +103,7 @@ assertCondition(devCodeQueueTarget.manifestRepoPath === "src/components/microser const pinnedDevManifest = gitShowText(devCodeQueueCommit, "src/components/microservices/k3sctl-adapter/k3s/dev/unidesk-dev-code-queue.k8s.yaml"); const pinnedRuntimePreflight = gitShowText(devCodeQueueCommit, "src/components/microservices/code-queue/src/runtime-preflight.ts"); const pinnedIndexSource = gitShowText(devCodeQueueCommit, "src/components/microservices/code-queue/src/index.ts"); +const pinnedProviderRuntime = gitShowText(devCodeQueueCommit, "src/components/microservices/code-queue/src/provider-runtime.ts"); assertCondition(countOccurrences(pinnedDevManifest, "path: /home/ubuntu/.agents/skills") === 3, "deploy.json dev code-queue commit must include source skills hostPath for scheduler/read/write", { commit: devCodeQueueCommit, }); @@ -113,6 +114,12 @@ assertCondition(!pinnedDevManifest.includes(forbiddenPathLiteral), "deploy.json assertCondition(pinnedRuntimePreflight.includes("skills.contractOk && ports.codex.ok"), "deploy.json dev code-queue commit runtime-preflight must require target projection contract"); assertCondition(pinnedIndexSource.includes("skills.contractOk === true"), "deploy.json dev code-queue commit dev-ready must require target projection contract"); assertCondition(pinnedIndexSource.includes("return config.skillsPath"), "deploy.json dev code-queue commit must keep runner UNIDESK_SKILLS_PATH on the configured target"); +assertCondition(pinnedProviderRuntime.includes("SKILLS_MOUNT_ARGS=(-v \"$SKILLS_SOURCE\":\"$SKILLS_TARGET\":ro)"), "deploy.json dev code-queue commit must bind D601 host skills into provider dev containers", { + commit: devCodeQueueCommit, +}); +assertCondition(pinnedProviderRuntime.includes("-e UNIDESK_SKILLS_PATH=\"$SKILLS_TARGET\""), "deploy.json dev code-queue commit must pass target skills env into provider dev containers", { + commit: devCodeQueueCommit, +}); configureProviderRuntime({ config: {