fix: harden desktop monitoring recovery
Desktop Client Build / Resolve Build Metadata (push) Successful in 37s
Backend CI / Backend (push) Failing after 9m26s
Desktop Client Build / Build Desktop Client (push) Successful in 22m29s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 35s
Desktop Client Build / Resolve Build Metadata (push) Successful in 37s
Backend CI / Backend (push) Failing after 9m26s
Desktop Client Build / Build Desktop Client (push) Successful in 22m29s
Desktop Client Build / Publish Client Artifacts to NAS (push) Successful in 35s
This commit is contained in:
@@ -249,19 +249,31 @@ const desktopBridge = {
|
||||
ipcRenderer.invoke('desktop:set-window-mode', mode, request) as Promise<null>,
|
||||
onRuntimeInvalidated: (
|
||||
listener: (event: {
|
||||
reason: 'account-health' | 'publish-task-lease' | 'publish-task-progress'
|
||||
reason:
|
||||
| 'account-health'
|
||||
| 'publish-task-lease'
|
||||
| 'publish-task-progress'
|
||||
| 'playwright-cdp-recovery'
|
||||
| 'playwright-cdp-fatal'
|
||||
at: number
|
||||
accountId?: string
|
||||
taskId?: string
|
||||
message?: string
|
||||
}) => void,
|
||||
) => {
|
||||
const wrapped = (
|
||||
_event: IpcRendererEvent,
|
||||
payload: {
|
||||
reason: 'account-health' | 'publish-task-lease' | 'publish-task-progress'
|
||||
reason:
|
||||
| 'account-health'
|
||||
| 'publish-task-lease'
|
||||
| 'publish-task-progress'
|
||||
| 'playwright-cdp-recovery'
|
||||
| 'playwright-cdp-fatal'
|
||||
at: number
|
||||
accountId?: string
|
||||
taskId?: string
|
||||
message?: string
|
||||
},
|
||||
) => {
|
||||
listener(payload)
|
||||
|
||||
Reference in New Issue
Block a user