Skip to content

Add ACTIVATE ProtocolMessage Action - #280

Merged
VeskeR merged 1 commit into
mainfrom
add-activate-action
Mar 25, 2025
Merged

Add ACTIVATE ProtocolMessage Action#280
VeskeR merged 1 commit into
mainfrom
add-activate-action

Conversation

@VeskeR

@VeskeRVeskeR commented Mar 13, 2025

Copy link
Copy Markdown
Contributor

TR2 reads as follows:

ProtocolMessage Action enum has the following values in order from zero:

and then lists the enums values.
My intention is to preserve the wording of the TR2 and just add the new actions for LiveObjects: STATE and STATE_SYNC (#279).
And in order to do that, we need to first add the ACTIVATE action that is currently missing. Realtime enum: https://github.com/ably/realtime/blob/2fcbe71939df11794e31b29536accf076acdabec/protocol/common.proto#L139, and also added to ably-js even though not part of the spec: https://github.com/ably/ably-js/blob/a7d8181d62fcb2375cdaef3e86eb61c2fa349070/src/common/lib/types/protocolmessagecommon.ts#L23

@SimonWoolf@mschristensen Could you please briefly describe the ACTIVATE action so I can write a description for it for the protocol page?

@VeskeR
VeskeRforce-pushed the add-activate-action branch from c5de3cc to d44ca77CompareMarch 13, 2025 10:37
@VeskeRVeskeR changed the title Add ACTIVATE ProtocolMessage ActionAdd ACTIVATE ProtocolMessage ActionMar 13, 2025
@SimonWoolf

Copy link
Copy Markdown
Member

Could you please briefly describe the ACTIVATE action so I can write a description for it for the protocol page

it's deprecated, no-one should be implementing it now, so no reason to document. (it existed just to support ably-js transport upgrading, before v2 removed transport upgrading). I recommend "(reserved for a deprecated use)" or something

@VeskeR
VeskeRforce-pushed the add-activate-action branch from d44ca77 to 30bb437CompareMarch 19, 2025 08:09
@VeskeR
VeskeR marked this pull request as ready for review March 19, 2025 08:10
@VeskeR
VeskeRforce-pushed the add-activate-action branch from 30bb437 to c96efc9CompareMarch 19, 2025 08:10
@VeskeR
VeskeRforce-pushed the add-activate-action branch from c96efc9 to 436309eCompareMarch 25, 2025 08:30
@VeskeR
VeskeR merged commit 1af91d3 into mainMar 25, 2025
@VeskeR
VeskeR deleted the add-activate-action branch March 25, 2025 08:30
ttypic pushed a commit that referenced this pull request Mar 6, 2026
Add `ACTIVATE` ProtocolMessage Action
ttypic pushed a commit that referenced this pull request Mar 6, 2026
Add `ACTIVATE` ProtocolMessage Action
Sign up for freeto 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.

3 participants

@VeskeR@SimonWoolf@mschristensen