Skip to content

refactor(protocol): isolate legacy item fanout - #30956

Merged
owenlin0 merged 1 commit into
mainfrom
owen/isolate_legacy_item_fanout
Jul 6, 2026
Merged

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

Conversation

@owenlin0

@owenlin0 owenlin0 commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

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.

@owenlin0
owenlin0 merged commit 7affe3e into main Jul 6, 2026
92 of 97 checks passed
@owenlin0
owenlin0 deleted the owen/isolate_legacy_item_fanout branch July 6, 2026 19:22
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants