summaryrefslogtreecommitdiff
path: root/src/client/mod.rs
diff options
context:
space:
mode:
authorJJ Liebig <jonathan.liebig@gmail.com>2026-09-13 21:14:00 +0400
committerGitHub <noreply@github.com>2026-09-13 19:14:00 +0200
commit3834fd3d0f77a809cf3e394fca31fd036d3173dd (patch)
treeb24702d12d9b951a8bb6cbe2a4386ec3b3b42152 /src/client/mod.rs
parentf0cb0e0683953e7dbc32d911268931f25d3e448f (diff)
fix: auto-expire worktree action error banners (#4063)
* fix: auto-expire worktree action error banners refs #1827 * fix: restart endpoint error timeout on repeated errors Route every transient client-side action error through a setter that installs a fresh deadline, so an identical repeated message cannot inherit an older, nearly-expired deadline. refs #1827 * test: derive endpoint error expiry assertions from stored deadline refs #1827
Diffstat (limited to 'src/client/mod.rs')
-rw-r--r--src/client/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index af2e92c8..36174064 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -2026,7 +2026,9 @@ async fn run_client_loop(
outcome.actions.extend(actions);
}
let (effects, notification_repaint) = shell.tick_notifications(now);
- outcome.repaint |= notification_repaint | shell.tick_copy_feedback(now);
+ outcome.repaint |= notification_repaint
+ | shell.tick_copy_feedback(now)
+ | shell.tick_endpoint_error(now);
let frame = outcome
.repaint
.then(|| shell.compose(state.reported_size.0, state.reported_size.1))