feat(desktop/account-health): treat active/expiring_soon probes as live and dedupe in-flight checks
Why: avoid showing accounts as not-live during stale-window probes; keep publish gating consistent with runtime view. - collapse FIRST_PROBE window so initial probe runs immediately - skip due-probe selection when a probe is already queued/in-flight - mirror auth-state→health projection on both client report and tenant ingest paths Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -337,7 +337,7 @@ function registerBridgeHandlers(): void {
|
||||
return null;
|
||||
});
|
||||
safeHandle("desktop:probe-runtime-account", async (_event, accountId: string) => {
|
||||
requestRuntimeAccountProbe(accountId);
|
||||
await requestRuntimeAccountProbe(accountId);
|
||||
return captureRuntimeAccountSnapshot(accountId);
|
||||
});
|
||||
safeHandle(
|
||||
|
||||
Reference in New Issue
Block a user