sam
df389b7773
fix(webhook): reject rate-limited deliveries with 429 instead of chat prose or a false 202
...
Router.Route returned the chat-facing rate-limit prose with a nil error, so
the webhook handler had no way to tell a genuine dispatch outcome from a
rejection: DeliverTo "origin" echoed the prose as a 200 reply, and any
other route got a 202 for an event that was actually dropped before
reaching the LLM, so the source never retries it.
ChatReply now carries RateLimited, set by a new Router.RouteResult (Route
is now a thin wrapper over it) so chat channels that render Text to a
human are unaffected. The webhook handler checks it and answers 429,
matching the precedent internal/webhookguard.RateLimiter's other callers
already set.
2026-09-27 05:20:30 +10:00
..
2026-09-19 11:40:45 +10:00
2026-08-23 03:27:44 +10:00
2026-09-19 23:37:23 +10:00
2026-08-08 16:42:59 +10:00
2026-08-08 16:42:59 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 03:03:33 +10:00
2026-09-10 03:03:33 +10:00
2026-09-09 01:05:36 +10:00
2026-09-27 05:20:30 +10:00
2026-09-09 01:05:36 +10:00
2026-09-08 21:28:19 +10:00
2026-09-24 19:39:06 +10:00
2026-09-08 21:28:19 +10:00
2026-09-24 14:26:42 +10:00
2026-08-09 01:15:41 +10:00
2026-08-09 01:15:41 +10:00
2026-09-10 03:03:33 +10:00
2026-09-25 01:32:20 +10:00
2026-09-25 15:32:20 +10:00
2026-09-22 03:18:59 +10:00
2026-09-09 01:05:36 +10:00
2026-09-20 00:30:23 +10:00
2026-09-27 05:20:30 +10:00
2026-09-20 02:42:36 +10:00
2026-09-20 02:42:36 +10:00
2026-09-09 01:05:36 +10:00
2026-08-06 22:55:26 +10:00
2026-09-19 23:37:23 +10:00
2026-07-26 01:19:38 +10:00
2026-09-19 23:37:23 +10:00
2026-09-10 03:03:33 +10:00
2026-09-21 08:17:42 +10:00
2026-09-21 08:17:42 +10:00
2026-09-05 22:52:03 +10:00
2026-09-19 11:46:05 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 01:09:31 +10:00
2026-09-23 03:15:27 +10:00
2026-09-24 21:45:27 +10:00
2026-09-24 21:45:27 +10:00
2026-08-09 22:27:25 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-22 04:30:15 +10:00
2026-09-09 01:05:36 +10:00
2026-08-05 04:24:16 +10:00
2026-09-24 14:26:42 +10:00
2026-09-24 14:26:42 +10:00
2026-09-24 21:45:27 +10:00
2026-09-24 14:26:42 +10:00
2026-07-26 10:25:07 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 23:33:38 +10:00
2026-09-09 23:33:38 +10:00
2026-09-09 01:05:36 +10:00
2026-09-10 03:03:33 +10:00
2026-09-08 21:28:19 +10:00
2026-09-19 23:37:23 +10:00
2026-09-19 23:37:23 +10:00
2026-09-22 14:52:10 +10:00
2026-08-26 02:02:36 +10:00
2026-09-24 19:39:06 +10:00
2026-08-28 00:19:27 +00:00
2026-09-24 19:39:06 +10:00
2026-09-17 10:13:07 +00:00
2026-09-22 21:36:02 +10:00
2026-09-24 19:39:06 +10:00
2026-09-24 14:26:42 +10:00
2026-09-22 04:30:15 +10:00
2026-09-19 12:59:11 +10:00
2026-09-19 12:59:11 +10:00
2026-09-22 04:30:15 +10:00
2026-09-09 01:05:36 +10:00
2026-09-09 01:05:36 +10:00
2026-09-22 04:30:15 +10:00
2026-07-30 01:25:46 +10:00
2026-09-19 23:37:23 +10:00
2026-09-15 10:18:53 +10:00