Repository navigation
Replay a tab's tier write with checks at commit and fan out its whole effect (R92) - #169
Conversation
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #169 +/- ##
==========================================
- Coverage 87.81% 85.47% -2.35%
==========================================
Files 188 189 +1
Lines 50326 50404 +78
Branches 50326 50404 +78
==========================================
- Hits 44195 43082 -1113
- Misses 4047 5226 +1179
- Partials 2084 2096 +12
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
@coderabbitai review |
|
9cf8a8e to
d91b397
Compare
d91b397 to
aa5e0f6
Compare
|
aa5e0f6 to
049a457
Compare
049a457 to
6d57594
Compare



In the browser a tab's mirror holds only the tier rows its subscriptions cover and carries no references, so the worker's attached tier is the one enforcer. The relay hub now replays a tab's tier changeset with checks deferred to the commit, records what the worker actually changed through a session on the tier, cascades and
SET NULLincluded, and fans that effect out to every tab reading a touched table. On the previous branch a cascade on the worker reached no tab, and a changeset listing a child before its parent was refused. A reference still broken at the commit rejects the mutation back to its author, and the worker's next write commits as usual.