feat: improve polling recovery and session cleanup

This commit is contained in:
2026-04-27 20:33:12 +08:00
parent ca2c559555
commit 89ba4163fc
22 changed files with 442 additions and 75 deletions
+7 -2
View File
@@ -138,11 +138,16 @@ function autoStartDecisionTagType(code?: string) {
return "success";
}
if (code === "failed_startup") {
if (code === "failed_startup" || code === "poll_failed") {
return "danger";
}
if (code === "skipped_storage" || code === "skipped_active_session") {
if (
code === "skipped_storage" ||
code === "skipped_active_session" ||
code === "skipped_debounce" ||
code === "poll_failed_transient"
) {
return "warning";
}