Teknium
839cdd1b05
fix(approval): cron jobs must not be treated as gateway context
...
The new _is_gateway_approval_context() widened the gateway classification
to any call with HERMES_SESSION_PLATFORM bound via contextvars. But
cron/scheduler.py binds that same contextvar for delivery routing on
cron jobs that originate from a gateway platform (telegram/discord/etc.),
so those jobs were getting routed through submit_pending with no
listener — blocking indefinitely instead of honoring approvals.cron_mode.
Short-circuit on HERMES_CRON_SESSION before any gateway check. Cron is
always governed by cron_mode config, regardless of where the job was
scheduled from.
Adds regression coverage in TestCronWithGatewayOrigin and records the
contributor email mapping for scripts/release.py.
2026-05-08 07:30:14 -07:00
..
2026-04-16 12:36:49 -07:00
2026-05-07 06:11:00 -07:00
2026-03-17 02:33:12 -07:00
2026-05-07 17:54:47 -07:00
2026-03-31 08:48:54 +09:00
2026-03-23 07:43:12 -07:00
2026-05-08 07:30:14 -07:00
2026-04-08 02:24:32 -07:00
2026-04-01 04:18:50 -07:00
2026-04-28 23:17:39 -07:00
2026-04-28 06:46:45 -07:00
2026-04-23 22:23:37 -07:00
2026-04-30 20:33:33 -07:00
2026-05-07 05:38:05 -07:00
2026-04-08 02:24:32 -07:00
2026-05-06 05:44:35 -07:00
2026-04-07 13:36:38 -07:00
2026-04-30 03:31:16 -07:00
2026-05-07 05:02:26 -07:00
2026-05-08 04:17:21 -07:00
2026-04-07 10:25:31 -07:00
2026-05-07 06:41:42 -07:00
2026-05-07 05:11:09 -07:00
2026-04-28 23:17:39 -07:00
2026-04-17 19:04:11 -07:00
2026-04-17 19:04:11 -07:00
2026-05-05 13:44:09 -07:00
2026-04-21 16:41:26 -07:00
2026-05-05 04:54:17 -07:00
2026-04-21 02:03:46 -07:00
2026-04-13 04:45:07 -07:00
2026-05-07 06:24:24 -07:00
2026-04-17 20:39:25 -07:00
2026-05-07 05:05:20 -07:00
2026-04-02 12:40:03 +11:00
2026-05-07 05:35:33 -07:00
2026-05-07 05:35:33 -07:00
2026-05-07 07:39:50 -07:00
2026-05-07 07:03:21 -07:00
2026-04-23 15:14:11 -07:00
2026-03-18 02:55:30 -07:00
2026-03-11 20:02:36 -07:00
2026-04-05 12:46:07 -07:00
2026-04-21 02:03:46 -07:00
2026-04-11 13:59:52 -07:00
2026-05-04 15:35:34 -07:00
2026-04-28 18:20:17 -07:00
2026-04-07 10:25:31 -07:00
2026-05-07 07:03:21 -07:00
2026-05-07 05:20:10 -07:00
2026-05-04 05:07:40 -07:00
2026-05-07 05:15:28 -07:00
2026-05-04 02:42:16 -07:00
2026-05-07 06:13:37 -07:00
2026-04-23 06:20:47 -07:00
2026-05-04 01:28:12 -07:00
2026-04-28 04:58:22 -07:00
2026-05-05 10:15:31 -07:00
2026-04-29 21:56:47 -07:00
2026-04-30 20:38:09 -07:00
2026-04-23 03:08:53 -07:00
2026-04-11 16:22:50 -07:00
2026-04-26 19:02:55 -07:00
2026-04-23 21:51:19 -07:00
2026-04-11 14:26:11 -07:00
2026-04-29 23:18:55 -07:00
2026-05-04 12:36:09 -07:00
2026-05-07 05:38:05 -07:00
2026-05-03 15:28:04 -07:00
2026-04-17 21:16:33 -07:00
2026-05-07 09:59:17 -07:00
2026-04-07 10:25:31 -07:00
2026-04-16 02:24:08 -07:00
2026-04-28 06:46:45 -07:00