Repository navigation
feat(service): seal a workspace's members and former members for following over Neon Realtime - #3929
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 20, 2026 02:34
9e1f8c5 to
6e6dfed
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 20, 2026 02:34
ca5afa8 to
17a7182
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 20, 2026 03:26
6e6dfed to
95763dc
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 20, 2026 03:26
17a7182 to
5f956e8
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 00:11
5f956e8 to
b471d1c
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 00:11
95763dc to
fb59c46
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 00:28
b471d1c to
da68eb9
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 00:29
fb59c46 to
9b4a760
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 00:45
9b4a760 to
685f1aa
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 00:45
da68eb9 to
44adfcc
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 01:05
685f1aa to
aa837ee
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 01:05
44adfcc to
3c49fce
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 01:17
aa837ee to
331235a
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 01:17
3c49fce to
43da746
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 01:32
331235a to
d3b723d
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 01:32
43da746 to
3847df7
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 06:27
d3b723d to
7cf0d7b
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 06:27
3847df7 to
a5e9d60
Compare
luke-agent
Bot
force-pushed
the
luke/live-workspaces-host
branch
from
October 21, 2026 06:44
7cf0d7b to
713c87b
Compare
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 06:44
a5e9d60 to
4131bf4
Compare
…n Realtime The live procedure `workspaceMembers` (GET /api/live/workspace-members?workspaceId=) seals one workspace's people for the bearer as two live statements, its members and who its work names but left, after reading the account as a member of it, so a workspace it is not in is not found, as the held read answers; or answers their rows inline where the reader polls or Realtime cannot seal them. Each statement also holds the reader's own membership, so a member who leaves stops reading its rows. The former members' condition is shared with the held read (formerOf), both statements call only immutable functions, and the desktop orders the rows as the held read does (workspaceMembersOfLiveRows). Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
luke-agent
Bot
force-pushed
the
luke/live-members-service
branch
from
October 21, 2026 07:01
4131bf4 to
ec60fc3
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The service side of a workspace's live members. Stacked on #3924.
live.workspaceMembers(GET /api/live/workspace-members?workspaceId=):membersandformer, or answers the rows inline when polled or when Realtime is offformerOf) is shared with the held read.workspaceMembersOfLiveRows(workspace-live.ts) orders members by role, then by name, as the held read does.Tests
listMembers/listFormerMembersfor the owner, an admin and a member. An outsider and a member who left get nothing.Made with Luke