fix(bluebubbles): add enrichGroupParticipantsFromContacts to core Zod schema#56889
fix(bluebubbles): add enrichGroupParticipantsFromContacts to core Zod schema#56889altaywtf merged 3 commits intoopenclaw:mainfrom
Conversation
Greptile SummaryThis PR adds
Confidence Score: 5/5This PR is safe to merge — it is a one-line schema fix that unblocks users with The change is a single-line addition that correctly fills a gap between the extension-level schema and the strict core Zod validator. It follows the established pattern for extension-owned fields and has no side-effects. No P0 or P1 issues were identified. No files require special attention.
|
| Filename | Overview |
|---|---|
| src/config/zod-schema.providers-core.ts | Adds missing enrichGroupParticipantsFromContacts: z.boolean().optional() field to BlueBubblesAccountSchemaBase to fix strict schema validation failure. |
Reviews (1): Last reviewed commit: "fix(bluebubbles): add enrichGroupPartici..." | Re-trigger Greptile
fd267bd to
0b46c2e
Compare
… schema Cherry-picked from openclaw#56889. The field was added to the BlueBubbles extension schema but not synced to the core strict validator, causing gateway crash loops when the config key is present. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
|
@steipete @vincentkoc Can you merge this and cut a release? Its been preventing openclaw gateway from restarting after running top@mini-1 ~ % openclaw update
Config invalid
File: ~/.openclaw/openclaw.json
Problem:
- channels.bluebubbles: Unrecognized key: "enrichGroupParticipantsFromContacts"
Run: openclaw doctor --fix
top@mini-1 ~ % openclaw gateway restart
Invalid config at /Users/top/.openclaw/openclaw.json:\n- channels.bluebubbles: Unrecognized key: "enrichGroupParticipantsFromContacts"
🦞 OpenClaw 2026.3.28 (f9b1079) — I'm not saying your workflow is chaotic... I'm just bringing a linter and a helmet.
Config invalid
File: ~/.openclaw/openclaw.json
Problem:
- channels.bluebubbles: Unrecognized key: "enrichGroupParticipantsFromContacts"
Run: openclaw doctor --fix
Gateway aborted: config is invalid.
channels.bluebubbles: Unrecognized key: "enrichGroupParticipantsFromContacts"
Fix the config and retry, or run "openclaw doctor" to repair.edit: just realized its being automatically re-added to openclaw.json. I can at least start the gateway if I remove it once but it will automatically get re-added next time. |
… schema Cherry-picked from openclaw#56889. The field was added to the BlueBubbles extension schema but not synced to the core strict validator, causing gateway crash loops when the config key is present. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
0b46c2e to
da6f684
Compare
… schema The field was added to the extension config schema in openclaw#54984 but not synced to the core strict Zod validator, causing config validation to reject the key at startup with 'Unrecognized key'.
da6f684 to
999208f
Compare
|
Merged via squash.
Thanks @zqchris. |
… schema Cherry-picked from openclaw#56889. The field was added to the BlueBubbles extension schema but not synced to the core strict validator, causing gateway crash loops when the config key is present. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
… schema (openclaw#56889) * fix(bluebubbles): add enrichGroupParticipantsFromContacts to core Zod schema The field was added to the extension config schema in openclaw#54984 but not synced to the core strict Zod validator, causing config validation to reject the key at startup with 'Unrecognized key'. * test(config): add BlueBubbles schema regression coverage * fix(bluebubbles): accept enrichGroupParticipantsFromContacts config --------- Co-authored-by: Chris Zhang <[email protected]> Co-authored-by: Altay <[email protected]>
… schema (openclaw#56889) * fix(bluebubbles): add enrichGroupParticipantsFromContacts to core Zod schema The field was added to the extension config schema in openclaw#54984 but not synced to the core strict Zod validator, causing config validation to reject the key at startup with 'Unrecognized key'. * test(config): add BlueBubbles schema regression coverage * fix(bluebubbles): accept enrichGroupParticipantsFromContacts config --------- Co-authored-by: Chris Zhang <[email protected]> Co-authored-by: Altay <[email protected]>
Summary
enrichGroupParticipantsFromContactswas added to the BlueBubbles extension config schema in #54984 but was not synced to the core strict Zod validator insrc/config/zod-schema.providers-core.ts.Because
BlueBubblesAccountSchemaBaseuses.strict(), having this field in the user config causes validation to fail withUnrecognized key: "enrichGroupParticipantsFromContacts", which prevents the gateway from starting.This PR adds the field to the core Zod schema, matching the pattern used by other extension-owned fields like
handleNamesandallowPrivateNetwork.Test plan
openclaw config validateacceptschannels.bluebubbles.enrichGroupParticipantsFromContacts: truewithout error