Skip to content

test: assert message_id on email responses#196

Merged
drish merged 2 commits into
mainfrom
cursor/message-id-typing-098a
Jul 8, 2026
Merged

test: assert message_id on email responses#196
drish merged 2 commits into
mainfrom
cursor/message-id-typing-098a

Conversation

@cpenned

@cpenned cpenned commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Scoped down to only cover the new message_id field. The Ruby SDK already returns API fields as hashes — no runtime or RBS changes are needed.

Changes

  • Assert message_id in GET /emails/:id spec
  • Include message_id in list emails fixture
  • Assert message_id in received email get spec (fixture already had the field)

Removed from earlier draft

Reverted the broad RBS type definitions, gemspec/gitignore changes, and YARD comments that went beyond message_id.

Open in Web Open in Cursor 

Summary by cubic

Add test assertions for message_id on email responses to ensure the field is present in GET /emails/:id, received email, and list responses. Scoped to test coverage only; reverted prior RBS/packaging/docs changes with no runtime changes.

Written for commit e93f1d8. Summary will update on new commits.

Review in cubic

Add RBS type signatures matching the Node.js SDK for message_id on
GET /emails/:id, receiving email responses, and all email webhook events.
Include sig files in the gem package, stop gitignoring sig/, and update
specs to assert message_id.

Co-authored-by: cpenned <cpenned@users.noreply.github.com>
@cpenned
cpenned marked this pull request as ready for review July 8, 2026 19:03
Revert the broad RBS webhook/email type definitions, gemspec sig
packaging, gitignore change, and doc comments. The API already returns
message_id; keep only the spec updates that assert it.

Co-authored-by: cpenned <cpenned@users.noreply.github.com>
@cursor cursor Bot changed the title feat: add message_id typing for emails and webhooks test: assert message_id on email responses Jul 8, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

0 issues found across 11 files (changes from recent commits).

Auto-approved: Test-only changes asserting message_id in email responses and updating fixtures.

Re-trigger cubic

@drish
drish merged commit 9417dc2 into main Jul 8, 2026
10 checks passed
@drish
drish deleted the cursor/message-id-typing-098a branch July 8, 2026 20:52
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.

3 participants