Skip to content

refactor(protocol): isolate legacy item fanout#30956

Draft
owenlin0 wants to merge 1 commit into
mainfrom
owen/isolate_legacy_item_fanout
Draft

refactor(protocol): isolate legacy item fanout#30956
owenlin0 wants to merge 1 commit into
mainfrom
owen/isolate_legacy_item_fanout

Conversation

@owenlin0

@owenlin0 owenlin0 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Stack

  1. #30956 — isolate legacy item fanout ← this PR
  2. #30283 — emit canonical TurnItem lifecycle
  3. #30188 — persist canonical items for paginated threads

Description

Move legacy EventMsg projection code out of the canonical item and protocol schema modules into protocol/src/legacy_events.rs.

This is a behavior-neutral extraction. It keeps the existing HasLegacyEvent API and the existing legacy projections unchanged, while giving compatibility fanout a single home.

Why

Canonical TurnItem types and wire event schemas should not own the implementation details for legacy compatibility projections. Isolating that code makes the boundary explicit and keeps follow-up canonical lifecycle work easier to review.

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