Skip to content

[tests] ensure message priority serialization - #9

Merged
capcom6 merged 2 commits into
masterfrom
tests/ensure-message-priority
Sep 22, 2026
Merged

capcom6 merged 2 commits into
masterfrom
tests/ensure-message-priority

Conversation

@capcom6

@capcom6 capcom6 commented Sep 17, 2026 •

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Documentation

    • Added release history covering MMS support, batch webhook delivery, authentication, encryption, and API capabilities.
    • Expanded configuration and usage guidance for authentication, custom clients, webhook signature verification, encryption, messaging formats, scheduling, TTL, delivery reports, and priority.
  • Tests

    • Added coverage confirming message priority is serialized even when set to zero, preserving consistent message formatting.

@coderabbitai

coderabbitai Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: b550393e-1d89-481c-b99f-f84030899c0a

📥 Commits

Reviewing files that changed from the base of the PR and between 15bcbff and 542788c.

📒 Files selected for processing (2)
  • CHANGELOG.md
  • README.md

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.


📝 Walkthrough

Walkthrough

The pull request adds documentation for project releases, client configuration, supported features, webhook verification, and encryption. It also adds a test for zero-valued Message.priority serialization.

Changes

Message priority serialization

Layer / File(s) Summary
Priority serialization coverage
tests/types_test.rs
Adds test_message_priority_always_serialized, which serializes a default-priority Message and checks that JSON includes "priority":0.

Project documentation

Layer / File(s) Summary
Release and usage documentation
CHANGELOG.md, README.md
Adds release history and documents ClientConfig, authentication, custom clients and URLs, supported message features, webhook signature verification, and feature-gated encryption.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Merge Risk: ⚪ Minimal · up to 54278

The changelog correctly documents the released v0.3.0 version, so no merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: adding a test for message priority serialization.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 1 files. (2 skipped: 2 …
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@capcom6
capcom6 force-pushed the tests/ensure-message-priority branch from 2d2064d to 15bcbff Compare September 18, 2026 05:22
@capcom6
capcom6 merged commit 9a7fc66 into master Sep 22, 2026
8 checks passed
@capcom6
capcom6 deleted the tests/ensure-message-priority branch September 22, 2026 07:17
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