Skip to content

[ECO-5333] Apply OBJECT ProtocolMessage operations#23

Merged
lawrence-forooghian merged 6 commits intomainfrom
ECO-5333-apply-OBJECT
Jul 24, 2025
Merged

[ECO-5333] Apply OBJECT ProtocolMessage operations#23
lawrence-forooghian merged 6 commits intomainfrom
ECO-5333-apply-OBJECT

Conversation

@lawrence-forooghian
Copy link
Collaborator

@lawrence-forooghian lawrence-forooghian commented Jul 8, 2025

Note: This PR is based on top of #22; please review that one first.

Implements the behaviours specified in ably/specification#343, except for buffering during a sync, which we have a separate task for. See commit messages for more details.

Summary by CodeRabbit

  • New Features

    • Improved handling and application of object protocol messages, including structured and logged processing of map and counter operations.
    • Enhanced thread safety for object message processing.
    • Unified and centralized mutable state management for live objects.
    • Added detailed logging throughout object creation and operation application.
  • Bug Fixes

    • Ensured consistent logging capability during object creation and operation handling.
  • Tests

    • Expanded and refactored test coverage for map and counter operations, including initial value merging, operation application, and edge cases.
    • Added comprehensive tests for protocol message handling and operation applicability logic.
    • Introduced new test factories for streamlined creation of test objects and operations.
  • Chores

    • Updated all test cases to use explicit logger parameters for improved traceability.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants