-
fix: allow env overrides to create missing config keys (#2064)
发布于
2026-03-15 15:03:40 +00:00 | 564 次提交 在此版本后已推送到 masterPreviously, environment variable overrides (e.g. SYSTEM__INSTANCE_ID)
were silently skipped if the target key didn't already exist in
data/config.yaml. This caused SaaS pods running older LangBot images
(whose config template lacked system.instance_id) to ignore the
SYSTEM__INSTANCE_ID env var, falling back to a random UUID that
didn't match the pod UUID — breaking idle timeout tracking.Now env overrides create missing keys (as strings) and missing
intermediate dicts, so they work regardless of template version.Co-authored-by: rocksclawbot rocksclawbot@users.noreply.github.com
下载附件