Skip to content

Revert the live data layer (next.21 + next.22) → 0.2.0-next.23 - #19

Merged
HomemadeToast57 merged 3 commits into
mainfrom
jack/revert-live-entities
Jul 27, 2026
Merged

Revert the live data layer (next.21 + next.22) → 0.2.0-next.23#19
HomemadeToast57 merged 3 commits into
mainfrom
jack/revert-live-entities

Conversation

@HomemadeToast57

Copy link
Copy Markdown
Collaborator

Reverts #18 and the next.22 registry fix. The id-ping + keyed-refetch architecture they optimize is being abandoned: every remote change still pays a full gateway HTTP hop before rendering, so observers never get V1-class latency. Direction is now private Broadcast channels (gateway-minted realtime tokens + realtime.messages policy) with the row carried on the socket.

  • next dist-tag returns to the 0.2.0-next.20 surface (as 0.2.0-next.23)
  • Work preserved on preserve/live-entities — the merge-by-id reconciler + optimistic overlay re-land as the client half of the private-channel design
  • latest (0.1.1) untouched throughout

Platform PR codehs/bool#566 is being closed unmerged for the same reason.

🤖 Generated with Claude Code

HomemadeToast57 and others added 3 commits July 27, 2026 17:07
This reverts commit a117611, reversing
changes made to 0218f9c.
Reverts next.21 (useEntity/LiveEntityStore) and next.22 (globalThis registry) —
the id-ping + keyed-refetch architecture they optimize is being abandoned for
private Broadcast channels with the row on the socket, which deletes the
refetch hop instead of polishing it. Work preserved on preserve/live-entities;
the reconciler half re-lands with the private-channel client.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@HomemadeToast57
HomemadeToast57 merged commit 4d3426d into main Jul 27, 2026
3 checks passed
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