fix: harden OpenCode ACP bind dispatch

This commit is contained in:
Peter Steinberger
2026-04-25 13:38:00 +01:00
parent 42514156e0
commit dd78b7f773
19 changed files with 348 additions and 31 deletions

View File

@@ -26,6 +26,7 @@ const DEFAULT_RESOURCE_LIMITS = {
"live:claude": 4,
"live:codex": 4,
"live:gemini": 4,
"live:opencode": 4,
npm: 10,
service: 7,
};
@@ -69,6 +70,9 @@ function liveProviderResource(provider) {
if (provider === "google-gemini-cli" || provider === "gemini") {
return "live:gemini";
}
if (provider === "opencode") {
return "live:opencode";
}
if (provider === "openai") {
return "live:openai";
}
@@ -321,6 +325,17 @@ const exclusiveLanes = [
weight: 3,
},
),
liveLane(
"live-acp-bind-opencode",
"OPENCLAW_SKIP_DOCKER_BUILD=1 pnpm test:docker:live-acp-bind:opencode",
{
cacheKey: "acp-bind-opencode",
provider: "opencode",
resources: ["npm"],
timeoutMs: LIVE_ACP_TIMEOUT_MS,
weight: 3,
},
),
];
const tailLanes = exclusiveLanes;