Files
openclaw/src
ToToKr 29475988da fix(cron): keep valid command env vars when a sibling value is non-string (#105433) (#106100)
* fix(cron): keep valid command env vars when a sibling value is non-string (#105433)

normalizeTrimmedStringRecord returned undefined whenever any env value was non-string, so payload normalization deleted the entire env map before gateway schema validation, silently dropping valid siblings (e.g. env {DEBUG:true, PATH:'/bin'} lost PATH). It now filters invalid entries and only normalizes the map away when no valid entries remain, matching the sibling normalizeTrimmedStringArray behavior in the same file.

* fix(cron): reject malformed command env maps

Co-authored-by: MoerAI <friendnt@g.skku.edu>

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-15 23:20:24 -07:00
..