fix: stabilize release validation lanes

This commit is contained in:
Peter Steinberger
2026-05-02 07:39:43 +01:00
parent 77f4fb0713
commit 4a4aad8935
4 changed files with 38 additions and 7 deletions

View File

@@ -79,6 +79,9 @@ export default definePluginEntry({
name: "OpenClaw Kitchen Sink",
channels: ["kitchen-sink-channel"],
providers: ["kitchen-sink-provider"],
contracts: {
tools: ["kitchen-sink-tool"],
},
configSchema: {
type: "object",
properties: {},

View File

@@ -1866,6 +1866,20 @@ async function runInstalledModelsSet(params) {
});
}
if (typeof params.providerConfig.timeoutSeconds === "number") {
await runInstalledCli({
cliPath: params.cliPath,
args: [
"config",
"set",
`models.providers.${params.providerConfig.extensionId}.models`,
"[]",
"--strict-json",
],
cwd: params.cwd,
env: params.env,
logPath: params.logPath,
timeoutMs: 2 * 60 * 1000,
});
if (typeof params.providerConfig.baseUrl === "string") {
await runInstalledCli({
cliPath: params.cliPath,
@@ -2690,6 +2704,19 @@ async function runModelsSet(params) {
});
}
if (typeof params.providerConfig.timeoutSeconds === "number") {
await runOpenClaw({
lane: params.lane,
env: params.env,
args: [
"config",
"set",
`models.providers.${params.providerConfig.extensionId}.models`,
"[]",
"--strict-json",
],
logPath: params.logPath,
timeoutMs: 2 * 60 * 1000,
});
if (typeof params.providerConfig.baseUrl === "string") {
await runOpenClaw({
lane: params.lane,