From 8ab2e19e98fe4b84f0f88b646a00aa79ae965afc Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 28 Mar 2026 09:44:24 +0000 Subject: [PATCH] fix(423): handle RateLimitHardBlock in ws.rs match MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The new WatcherEvent::RateLimitHardBlock variant added in the feature commit was not covered in the ws.rs From match, causing a compile error. Add the missing arm returning None (same as RateLimitWarning — handled by chat notifications only, not WebSocket). Co-Authored-By: Claude Sonnet 4.6 --- server/src/http/ws.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/http/ws.rs b/server/src/http/ws.rs index b0427197..a4c73fa5 100644 --- a/server/src/http/ws.rs +++ b/server/src/http/ws.rs @@ -163,6 +163,7 @@ impl From for Option { WatcherEvent::MergeFailure { .. } => None, WatcherEvent::RateLimitWarning { .. } => None, WatcherEvent::StoryBlocked { .. } => None, + WatcherEvent::RateLimitHardBlock { .. } => None, } } }