refactor: move remote screenshots into web-probe
This commit is contained in:
@@ -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(",");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user