-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MessageAction enum changes #2005
Conversation
Caution Review failedThe pull request is closed. Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 SwiftLint (0.57.0)Test/Tests/UtilitiesTests.swift[ WalkthroughThe pull request introduces changes to the Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
Source/include/Ably/ARTMessage.h (1)
28-32
: Fix typo in documentation comment.There's a double period at the end of the documentation comment.
/** * Message action for a message containing the latest rolled-up summary of - * annotations that have been made to this message.. + * annotations that have been made to this message. */
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
Source/include/Ably/ARTMessage.h
(1 hunks)Test/Tests/UtilitiesTests.swift
(6 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (5)
- GitHub Check: check (macOS, test_macOS)
- GitHub Check: check (tvOS, test_tvOS17_2)
- GitHub Check: check (iOS, test_iOS17_2)
- GitHub Check: check
- GitHub Check: check
🔇 Additional comments (1)
Test/Tests/UtilitiesTests.swift (1)
Line range hint
495-522
: LGTM! Test cases properly validate the message action changes.The test cases thoroughly verify:
- Version and serial handling for both create and update actions
- Timestamp and createdAt field handling for both create and update actions
The assertions are clear and cover the expected behavior after the enum changes.
Also applies to: 561-588
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, left minor comment.
c01363f
to
ad0db4d
Compare
per ably/specification#263
(I have no way of running ably-cocoa tests so this is a blind change)
Breaking change but this was agreed, as no clients are currently using the action yet.
Summary by CodeRabbit
New Features
ARTMessageActionMessageSummary
for message summaries.Refactor