teknium1
d4dfbba485
fix(cron): pin the worker's PYTHONPATH from the sanitized env in a sibling helper; skip under a wheel install
...
The pin landed inline in the cron/scheduler.py facade and rebuilt PYTHONPATH from
raw os.environ. That resurrected the Hermes-owned entries build_subprocess_env
had just stripped (runtime site-packages, launcher spellings of the repo root)
instead of extending what the sanitizer kept. It also ran unconditionally: under
a wheel / pipx / uv-tool install `Path(__file__).parent.parent` IS purelib, so the
pin hoisted site-packages above the stdlib on the worker's sys.path instead of
being a no-op.
cron/scheduler_worker_env.py::pin_hermes_tree_on_pythonpath prepends repo_root
to worker_env's own PYTHONPATH and returns the env untouched when repo_root is
sysconfig purelib (cron/ is already importable there). Test: A/B with the
previous inline pin -> the raw-environ-only entry leaked into the spawn env.
Part of #112729 : this hardens the PYTHONSAFEPATH / cwd-not-checkout case; the
reporter's failure did not reproduce on main from cwd=checkout, so the real
worker stderr tail (now captured by e094e25b26 / f857a4ed99 ) is still needed.
2026-09-17 08:54:39 -07:00
..
2026-08-07 17:45:06 +05:30
2026-08-21 03:46:37 -07:00
2026-09-07 08:27:50 -07:00
2026-07-29 13:10:23 -07:00
2026-09-15 19:03:08 -07:00
2026-09-15 19:03:08 -07:00
2026-09-16 16:55:05 -07:00
2026-09-12 01:51:59 -07:00
2026-09-15 06:07:32 -07:00
2026-09-06 22:56:51 +05:30
2026-09-03 13:28:22 -07:00
2026-09-13 16:46:45 -07:00
2026-07-29 13:10:23 -07:00
2026-09-07 08:18:20 -07:00
2026-09-16 16:58:27 -07:00
2026-08-16 22:09:28 -07:00
2026-08-13 09:42:39 -07:00
2026-09-03 13:28:22 -07:00
2026-09-13 09:18:02 -07:00
2026-09-13 09:18:02 -07:00
2026-08-24 15:47:42 +05:30
2026-09-15 04:12:13 -07:00
2026-09-15 04:12:13 -07:00
2026-09-09 04:32:13 -07:00
2026-09-16 17:53:04 -07:00
2026-09-15 04:12:13 -07:00
2026-09-03 13:38:36 -07:00
2026-08-26 01:23:15 -07:00
2026-08-31 10:42:39 -07:00
2026-09-14 09:19:32 -07:00
2026-09-09 04:32:13 -07:00
2026-09-07 07:10:28 -07:00
2026-09-07 16:48:29 -07:00
2026-09-03 13:38:36 -07:00
2026-09-13 09:18:02 -07:00
2026-09-17 08:51:30 -07:00
2026-09-13 21:13:23 -07:00
2026-09-15 18:54:28 -07:00
2026-09-03 13:38:36 -07:00
2026-09-11 19:58:07 -07:00
2026-09-11 15:28:37 -07:00
2026-08-31 09:58:40 -07:00
2026-09-15 04:12:13 -07:00
2026-08-13 10:46:13 -07:00
2026-07-29 13:10:23 -07:00
2026-09-15 18:30:59 -07:00
2026-09-12 20:57:21 -07:00
2026-09-09 04:32:13 -07:00
2026-09-03 13:38:36 -07:00
2026-08-27 20:53:02 -07:00
2026-09-03 13:46:50 -07:00
2026-09-13 09:18:02 -07:00
2026-09-15 04:15:16 -07:00
2026-09-16 17:18:44 -07:00
2026-08-31 09:59:07 -07:00
2026-09-12 01:51:59 -07:00
2026-09-12 08:21:08 -07:00
2026-09-13 09:18:02 -07:00
2026-07-29 13:10:23 -07:00
2026-09-03 13:29:55 -07:00
2026-09-07 05:58:24 -07:00
2026-09-03 12:40:26 +05:30
2026-09-01 08:31:37 -07:00
2026-08-27 20:39:20 +05:30
2026-09-13 16:46:45 -07:00
2026-09-13 09:18:02 -07:00
2026-09-03 12:40:26 +05:30
2026-09-12 08:43:43 -07:00
2026-09-09 04:32:13 -07:00
2026-09-03 13:29:55 -07:00
2026-08-17 16:56:54 +05:30
2026-08-07 17:45:06 +05:30
2026-07-29 13:10:23 -07:00
2026-09-13 09:18:02 -07:00
2026-09-12 01:51:59 -07:00
2026-09-03 03:33:24 +05:30
2026-09-15 04:00:34 -07:00
2026-09-11 06:21:48 -07:00
2026-09-03 13:38:36 -07:00
2026-09-03 13:38:36 -07:00
2026-09-10 15:32:47 +05:30
2026-08-23 23:33:29 -07:00
2026-09-15 03:33:13 -07:00
2026-09-12 01:51:59 -07:00
2026-09-15 18:30:59 -07:00
2026-09-02 06:27:24 -07:00
2026-08-31 09:59:39 -07:00
2026-08-23 23:33:29 -07:00
2026-08-24 03:13:30 -07:00
2026-09-07 05:57:26 -07:00
2026-08-17 16:55:00 +05:30
2026-09-15 04:12:13 -07:00
2026-07-29 13:10:23 -07:00
2026-08-17 16:55:00 +05:30
2026-09-07 00:39:44 +05:30
2026-08-14 21:55:14 -07:00
2026-09-10 15:32:47 +05:30
2026-09-17 08:54:39 -07:00
2026-09-17 00:34:50 -05:00
2026-08-24 15:47:42 +05:30
2026-09-07 08:18:56 -07:00
2026-09-16 17:11:51 -07:00
2026-09-15 18:31:26 -07:00
2026-09-03 13:29:55 -07:00
2026-09-03 13:49:57 -07:00
2026-09-03 13:29:55 -07:00
2026-09-12 08:49:16 -07:00
2026-09-02 13:31:43 -07:00
2026-09-16 17:18:44 -07:00
2026-09-15 18:32:25 -07:00
2026-09-03 13:46:50 -07:00
2026-08-14 20:46:50 -07:00
2026-09-03 17:45:53 -07:00
2026-09-02 06:27:24 -07:00
2026-08-29 19:19:40 -07:00
2026-09-13 09:18:02 -07:00
2026-09-14 16:14:33 -07:00
2026-09-13 09:18:02 -07:00
2026-09-12 22:13:33 -07:00
2026-09-13 05:08:29 -07:00
2026-08-08 00:07:14 +05:30