refactor: move remote screenshots into web-probe

This commit is contained in:
Codex
2026-06-27 06:14:10 +00:00
parent 6e06972acf
commit 9d1300a08e
11 changed files with 503 additions and 622 deletions
-2
View File
@@ -1463,7 +1463,6 @@ function traceSignals(text: string): Record<string, boolean> {
transTimeoutHint: /UNIDESK_TRAN_TIMEOUT_HINT/iu.test(text),
sshTiming: /UNIDESK_SSH_TIMING/iu.test(text),
downloadProgress: /unidesk\.ssh\.download\.progress/iu.test(text),
sshPlaywright: /"command"\s*:\s*"ssh playwright"|command['"]?\s*[:=]\s*['"]?ssh playwright/iu.test(text),
};
}
@@ -1589,7 +1588,6 @@ function signalLabel(signals: Record<string, unknown> | null): string {
signals.transTimeoutHint === true ? "timeout" : "",
signals.sshTiming === true ? "timing" : "",
signals.downloadProgress === true ? "download" : "",
signals.sshPlaywright === true ? "playwright" : "",
].filter((label) => label.length > 0);
return labels.length === 0 ? "-" : labels.join(",");
}