mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 10:10:45 +00:00
fix(release): stabilize release validation probes
This commit is contained in:
@@ -61,6 +61,8 @@ const OMITTED_QA_EXTENSION_PREFIXES = [
|
||||
export const CROSS_OS_DASHBOARD_SMOKE_TIMEOUT_MS = 120_000;
|
||||
export const CROSS_OS_DASHBOARD_FETCH_TIMEOUT_MS = 10_000;
|
||||
export const CROSS_OS_GATEWAY_STATUS_RPC_TIMEOUT_MS = 30_000;
|
||||
export const CROSS_OS_GATEWAY_STATUS_COMMAND_TIMEOUT_MS =
|
||||
CROSS_OS_GATEWAY_STATUS_RPC_TIMEOUT_MS + 45_000;
|
||||
export const CROSS_OS_GATEWAY_READY_TIMEOUT_MS = 3 * 60_000;
|
||||
export const CROSS_OS_WINDOWS_GATEWAY_READY_TIMEOUT_MS = 5 * 60_000;
|
||||
|
||||
@@ -1635,13 +1637,12 @@ async function resolveInstalledGatewayStatusArgs(params) {
|
||||
return [
|
||||
"gateway",
|
||||
"status",
|
||||
"--deep",
|
||||
"--require-rpc",
|
||||
"--timeout",
|
||||
String(CROSS_OS_GATEWAY_STATUS_RPC_TIMEOUT_MS),
|
||||
];
|
||||
}
|
||||
return ["gateway", "status", "--deep"];
|
||||
return ["gateway", "status"];
|
||||
}
|
||||
|
||||
export async function canConnectToLoopbackPort(port, timeoutMs = 1_000) {
|
||||
@@ -1684,7 +1685,7 @@ async function waitForInstalledGateway(params) {
|
||||
cwd: params.lane.homeDir,
|
||||
env: params.env,
|
||||
logPath: params.logPath,
|
||||
timeoutMs: 20_000,
|
||||
timeoutMs: CROSS_OS_GATEWAY_STATUS_COMMAND_TIMEOUT_MS,
|
||||
check: false,
|
||||
});
|
||||
if (result.exitCode === 0) {
|
||||
@@ -1711,7 +1712,7 @@ async function waitForInstalledGatewayToStop(params) {
|
||||
cwd: params.lane.homeDir,
|
||||
env: params.env,
|
||||
logPath: params.logPath,
|
||||
timeoutMs: 20_000,
|
||||
timeoutMs: CROSS_OS_GATEWAY_STATUS_COMMAND_TIMEOUT_MS,
|
||||
check: false,
|
||||
});
|
||||
const portReachable = await canConnectToLoopbackPort(params.lane.gatewayPort);
|
||||
@@ -2364,7 +2365,7 @@ async function waitForGateway(params) {
|
||||
env: params.env,
|
||||
args: statusArgs,
|
||||
logPath: params.logPath,
|
||||
timeoutMs: 20_000,
|
||||
timeoutMs: CROSS_OS_GATEWAY_STATUS_COMMAND_TIMEOUT_MS,
|
||||
check: false,
|
||||
});
|
||||
} catch {
|
||||
@@ -2398,13 +2399,12 @@ async function resolveGatewayStatusArgs(lane, env, logPath) {
|
||||
return [
|
||||
"gateway",
|
||||
"status",
|
||||
"--deep",
|
||||
"--require-rpc",
|
||||
"--timeout",
|
||||
String(CROSS_OS_GATEWAY_STATUS_RPC_TIMEOUT_MS),
|
||||
];
|
||||
}
|
||||
return ["gateway", "status", "--deep"];
|
||||
return ["gateway", "status"];
|
||||
}
|
||||
|
||||
async function runModelsSet(params) {
|
||||
|
||||
Reference in New Issue
Block a user