Skip to content

Add OBJECT, OBJECT_SYNC, ANNOTATION protocol message actions - #3

Open
paddybyers wants to merge 1 commit into
mainfrom
add-objects-actions
Open

Add OBJECT, OBJECT_SYNC, ANNOTATION protocol message actions#3
paddybyers wants to merge 1 commit into
mainfrom
add-objects-actions

Conversation

@paddybyers

Copy link
Copy Markdown
Member

Summary

  • Add missing protocol message action constants from TR2: OBJECT (19), OBJECT_SYNC (20), ANNOTATION (21)
  • Without these, rules using named actions like "OBJECT" silently fail to match (fall through to strconv.Atoi which returns -1 for a name string), and log output shows numeric IDs instead of readable names

Context

Raised in ably/specification#473 (comment) — the UTS LiveObjects integration tests need proxy rules that match on OBJECT and OBJECT_SYNC frames.

Test plan

  • go build passes
  • go test passes (existing tests unaffected — no tests currently use OBJECT actions)

🤖 Generated with Claude Code

Add missing action constants from TR2: OBJECT (19), OBJECT_SYNC (20),
and ANNOTATION (21). Without these, rules using named actions like
"OBJECT" would silently fail to match, and log output would show
numeric IDs instead of readable names.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant

@paddybyers