mirror of
https://github.com/laramies/theHarvester.git
synced 2026-09-22 17:44:57 +02:00
- _child_execute now returns an exit code and the module entry maps it to the process status, so a child terminated by an external signal exits nonzero; the parent records the run as failed with the partial checkpoint attached instead of mistaking leftover evidence for terminal completion - recover_orphans isolates each orphaned run: one unreadable checkpoint (schema-passing but structurally broken) no longer aborts recovery of the remaining runs or crashes every future startup - the affected run is failed without evidence and recovery continues - _process_output drains child streams to EOF but retains only a bounded tail, so a verbose child cannot grow API memory unboundedly - the execution poll reads the lifecycle row instead of the full detail projection every 50 ms - run-now maps a stale stored run template to a sanitized 503 instead of leaking a raw pydantic ValidationError as a 500