Skip to content

fix: make text optional in local daemon Group DM endpoint#72

Merged
khaliqgant merged 8 commits intomainfrom
fix/local-daemon-group-dms
Mar 10, 2026
Merged

fix: make text optional in local daemon Group DM endpoint#72
khaliqgant merged 8 commits intomainfrom
fix/local-daemon-group-dms

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

@khaliqgant khaliqgant commented Mar 9, 2026

The local daemon's Group DM endpoint required text as a mandatory field, but the production server and SDK treat it as optional. The SDK calls createGroup({ participants, name }) without text, then sendMessage() separately.

Fix: Changed text: Stringtext: Option<String> in CreateGroupDmRequest and made initial message posting conditional.

Verification: All 59 e2e tests pass (0 failures), including the 3 Group DM tests that were previously failing.


Open with Devin

khaliqgant and others added 8 commits March 9, 2026 15:38
…server

The SDK's createGroup() sends {participants, name} without a text field,
then sends the initial message separately via sendMessage(). The local
daemon required text as mandatory, causing serde deserialization to fail
with "Malformed JSON in request body".

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 9, 2026

Preview deployed!

Environment URL
API https://pr72-api.relaycast.dev
Health https://pr72-api.relaycast.dev/health
Observer https://pr72-observer.relaycast.dev/observer

This preview shares the staging database and will be cleaned up when the PR is merged or closed.

Run E2E tests

npm run e2e -- https://pr72-api.relaycast.dev --ci

Open observer dashboard

https://pr72-observer.relaycast.dev/observer

Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 6 additional findings.

Open in Devin Review

@khaliqgant khaliqgant merged commit fb20c8a into main Mar 10, 2026
4 checks passed
@khaliqgant khaliqgant deleted the fix/local-daemon-group-dms branch March 10, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant