kshitijk4poor
9715a7c6fe
fix(cron): install the fire secret scope before the body's first crash-notice exit
...
_run_one_job_body's except branch sends _deliver_crash_failure when anything in
the body raises, but the firing profile's secret scope was only installed after
claim_dispatch and mark_execution_running. A raise from either sent the crash
notice with no scope: under multiplex get_secret fails closed
(UnscopedSecretError, "Hermes could not read this profile's
TELEGRAM_HOME_CHANNEL") and the notice never left. Same class as the
dispatch-failure branch fixed for #131585 (and called out in #130431 's body).
Install the scope first thing in the try so every exit through the except is
scoped; the outer finally already resets it. The handoff path stays outside it
(#107692 ), and the external-worker payload path and the post-handoff notice
already run scoped.
Extends the #130431 test with a claim_dispatch-raising case.
Refs #131585
Co-authored-by: skyeyesec333 <skyeyesec333@users.noreply.github.com >
2026-10-04 02:10:55 +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-04 02:10:55 +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 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