Repository navigation
fix(config): allow historyLimit: 0 in GroupChatSchema - #94073
zhanxingxin1998 wants to merge 1 commit into
Conversation
GroupChatSchema used .positive() which rejects 0, while all other historyLimit schemas use .min(0). This caused a silent config reload failure when setting messages.groupChat.historyLimit to 0. Change .positive() to .min(0) and add test coverage. Fixes openclaw#65305
31826a2 to
4aca1ba
Compare
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close: this PR is a duplicate of #65359; that older open PR carries the same patch, links the canonical bug, and has stronger live Gateway proof, while current main and the latest release still need the fix. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: #65359 is open, mergeable, uses closing syntax for #65305, touches the same three files, and includes live Gateway output showing schema So I’m closing this here and keeping the remaining discussion on #65359 and #65305. Review detailsBest possible solution: Close this duplicate branch and keep review and landing focused on #65359 or an equivalent narrow Do we have a high-confidence way to reproduce the issue? Yes, at source level. Current main validates Is this the best way to solve the issue? No, this is not the best branch to land even though the patch shape is correct. The best path is the older canonical PR with the same stable patch, the linked issue, and live Gateway proof. Security review: Security review cleared: Security review cleared: the diff changes config validation source and tests only, with no dependency, workflow, package, secret, or code-execution surface change. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against d1b917120a47. |
Closing per ClawSweeper review: duplicate of canonical PR #65359. The upstream PR already owns review and proof for this fix.
@clawsweeper — closing as requested.