kshitijk4poor
8840751b8d
fix(cron): reuse the gateway's hook registration helper inside the secret scope
...
The external worker now calls GatewayStartupMixin._register_config_hooks (the
helper gateway startup and each multiplexed profile already use) instead of a
copied load_config/register_from_config sequence, and calls it after
set_secret_scope rather than before. Registered outside the scope, a
hooks.outbound target with secret_env hits get_secret with no scope while
multiplexing, which raises UnscopedSecretError; the never-raise guard swallowed
it, so that profile's outbound webhooks were silently dropped again.
Both registries are idempotent per (home, event, ...) so a worker running
several payloads registers each hook once. The kept test gains a secret_env
target on a multiplexed payload to pin the ordering; the broken-config test is
dropped (register_from_config never raises on a malformed block, and the
helper's guard is already covered by the gateway path).
Refs #131764
2026-10-04 01:53:17 +05:30
..
2026-09-27 15:04:50 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 08:09:47 -07:00
2026-09-20 17:55:54 +05:30
2026-09-20 17:55:54 +05:30
2026-09-23 03:15:26 -07:00
2026-09-21 02:52:15 -07:00
2026-09-23 07:02:44 -04:00
2026-10-02 01:00:00 +05:30
2026-09-23 15:26:34 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-25 21:28:32 +05:30
2026-09-29 15:58:55 +05:30
2026-09-23 07:02:44 -04:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-10-02 13:50:23 -04:00
2026-10-01 20:14:31 -04:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-10-03 22:23:27 +05:30
2026-09-23 07:02:44 -04:00
2026-09-23 07:02:44 -04:00
2026-09-29 22:57:48 -04:00
2026-09-21 02:52:15 -07:00
2026-09-21 02:52:15 -07:00
2026-09-21 02:52:15 -07:00
2026-09-29 22:57:48 -04:00
2026-09-23 03:15:26 -07:00
2026-09-20 15:54:45 -07:00
2026-09-23 10:42:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-28 05:28:05 -07:00
2026-09-23 03:15:26 -07:00
2026-09-28 12:43:03 -07:00
2026-09-23 03:15:26 -07:00
2026-09-28 02:32:05 +05:30
2026-09-23 03:15:26 -07:00
2026-09-26 19:57:55 +05:30
2026-09-28 02:32:05 +05:30
2026-09-29 15:58:55 +05:30
2026-09-20 17:59:57 +05:30
2026-09-28 19:07:43 +05:30
2026-09-23 10:37:15 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 19:07:43 +05:30
2026-10-04 01:53:17 +05:30
2026-09-28 05:28:05 -07:00
2026-09-21 14:49:05 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-10-02 01:02:00 +05:30
2026-10-02 01:02:00 +05:30
2026-10-02 01:33:04 +05:30
2026-10-02 20:29:53 -05:00
2026-09-23 07:02:44 -04:00
2026-09-30 21:33:08 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 10:37:15 -07:00
2026-09-28 02:32:05 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 15:26:34 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-23 10:42:18 -04:00
2026-09-23 03:15:26 -07:00
2026-09-28 05:28:05 -07:00
2026-09-24 16:59:23 +05:30
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-10-04 01:52:54 +05:30
2026-09-19 22:34:21 -07:00
2026-09-30 20:57:21 -04:00
2026-10-01 22:25:21 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-10-01 17:18:56 -07:00
2026-09-24 12:47:41 -04:00
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 07:02:44 -04:00
2026-09-20 17:59:57 +05:30
2026-09-23 07:02:44 -04:00
2026-09-23 03:15:26 -07:00
2026-09-23 03:15:26 -07:00
2026-09-23 19:51:34 -04:00
2026-10-03 16:31:54 +05:30
2026-09-23 03:15:26 -07:00