Files
hermes-agent/contributors/emails/nmurray@gmail.com
teknium1 fc6cf2bd82 test(cron): one invariant for the atomic external-worker ack, plus keenvc's author mapping
The worker ack file is what the gateway's exists()-then-read loop keys on;
the test drives the production entry point _run_external_worker_payload and
asserts the ack is never observable while its body is still being written
(red on origin/main: O_CREAT made the empty file visible before json.dump),
and that no temp residue is left beside it.

Live probe (real `python -m cron.scheduler --external-worker-file` on a
scratch HERMES_HOME, tight parent-style poller): origin/main 3/3 runs read
an empty ack -> "unreadable acknowledgement"; this head 5/5 read a full ack.

Refs #116164 (form 1), #107184. Salvages #107678 (@keenvc).
2026-09-19 23:44:07 -07:00

2 lines
7 B
Plaintext