mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-04 21:12:57 +00:00
* fix(cron): include job name in single-job run history The cron.runs gateway handler enriches log entries with jobName in the all-jobs scope, but the single-job scope did not pass any job-name lookup into the SQLite run-log reader. Entries returned for one job could therefore reach Control UI without jobName, making the run-history title fall back to the raw job id. Build a one-entry jobNameById map for the current job and pass it through the same reader enrichment path used by all-jobs history. If the job no longer exists, the map stays undefined and existing fallback behavior is unchanged. * test(cron): cover single-job run history job name enrichment Asserts that readCronRunLogEntriesPage stamps a supplied jobNameById map onto single-job page entries, matching the gateway data shape used for both all-jobs and single-job cron.runs responses. Addresses review feedback on #88294. * test(cron): preserve nullable tool schema validation * test(cron): assert runtime nullable tool schema * test(cron): refresh prompt snapshots --------- Co-authored-by: Kip Claw <kip@kipclaw.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>