Files
hermes-agent/tests
Konstantin Khlopkov 7de2fbb98f fix(compression): mark a dead cron run and a non-zero exit in their stubs
A manual cronjob run reports a dead or skipped job inside the job view while the tool
call itself succeeded, so the payload is a clean {"success": true, "job": {...}} and the
top-level outcome probe finds nothing to mark. A poll of a finished process reports
exit_code and completion_reason instead of an error, so a non-zero exit is invisible the
same way. Both compressed into the byte-identical success stub, which is the failure this
series removes.

Each tool now reads its own payload: the cronjob stub looks at this call's
execution_error / execution_skipped / execution_success and at nothing else, because the
job view also carries state left by earlier runs; the process stub marks a non-zero
exit code, while a process still running reports none and stays unmarked.

(cherry picked from commit 295e23e3bfc084f20844bf518a244d41421d3f66)
2026-10-03 16:53:37 +05:30
..