You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug: dispatch latency spike from ~30s to 2-5 min sustained
Symptoms
After ~1hr of normal operation, agent_dispatch_ms jumps 3-5x and stays elevated.
User-side perception: messages appear unanswered ("no response" feeling), reply
eventually arrives 2-5 min later.
Manual /compact invoked once mid-session (recovered briefly per user obs)
Workaround
Manual /compact helps short-term per user observation 2026-05-11 14:54 UTC.
Recovery not durable — latency creeps back within ~1hr.
Ask
Is agent_dispatch_ms measuring inclusive of Anthropic API call duration?
If yes, may be upstream issue. If exclusive, OpenAB internal latency to
investigate.
Auto-compact (which user notes is missing per separate report) would
likely help here too.
Description
Bug: dispatch latency spike from ~30s to 2-5 min sustained
Symptoms
After ~1hr of normal operation,
agent_dispatch_msjumps 3-5x and stays elevated.User-side perception: messages appear unanswered ("no response" feeling), reply
eventually arrives 2-5 min later.
Sample log data (2026-05-12 session)
Normal range (UTC 05:18 - 05:49):
06:18:51 agent_dispatch_ms=23052 (23s)
05:29:04 agent_dispatch_ms=56241 (56s)
05:35:52 agent_dispatch_ms=38295 (38s)
05:43:50 agent_dispatch_ms=25530 (26s)
05:49:23 agent_dispatch_ms=45365 (45s)
Spike begins UTC 06:33:
06:33:49 agent_dispatch_ms=74489 (74s)⚠️ ⚠️
06:41:09 agent_dispatch_ms=279310 (4.6 min)
06:44:30 agent_dispatch_ms=183225 (3 min)
06:49:01 agent_dispatch_ms=124135 (2 min)
06:54:31 agent_dispatch_ms=202111 (3.4 min)
06:58:29 agent_dispatch_ms=167416 (2.8 min)
07:20:04 agent_dispatch_ms=226646 (3.8 min)
07:23:31 agent_dispatch_ms=72705 (73s)
07:28:42 agent_dispatch_ms=59920 (60s)
Other metrics observed
wait_ms: 281-692 ms throughout (queue wait healthy, dispatch itself slow)tokens_per_event: 5-99 (no obvious correlation to latency)packed_block_count: 2 (constant)events_per_dispatch: 1 (constant)Possible root causes (untested)
Environment
/compactinvoked once mid-session (recovered briefly per user obs)Workaround
Manual
/compacthelps short-term per user observation 2026-05-11 14:54 UTC.Recovery not durable — latency creeps back within ~1hr.
Ask
agent_dispatch_msmeasuring inclusive of Anthropic API call duration?If yes, may be upstream issue. If exclusive, OpenAB internal latency to
investigate.
likely help here too.
Repro
Logs available on request.
Steps to Reproduce
discord (no response)
Expected Behavior
discord responses.
Environment
No response
Screenshots / Logs
No response