fix(release): stabilize release validation probes

This commit is contained in:
Peter Steinberger
2026-04-27 08:17:47 +01:00
parent 3200378ab4
commit 720ea766e6
6 changed files with 83 additions and 12 deletions

View File

@@ -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) {