Repository navigation
feat(service): seal a workspace's pending invitations for following over Neon Realtime - #3948
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 20, 2026 02:34
ec0dec9 to
35ae94c
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 20, 2026 02:34
f422961 to
3d08712
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 20, 2026 03:26
35ae94c to
b03efd3
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 20, 2026 03:26
3d08712 to
cfec13f
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 00:11
cfec13f to
1a53038
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 00:11
b03efd3 to
fcc307a
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 00:28
1a53038 to
2d0792e
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 00:29
fcc307a to
1103b1a
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 00:45
1103b1a to
9633dff
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 00:45
2d0792e to
f753020
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 01:05
9633dff to
09966fa
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 01:05
f753020 to
d7d6053
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 01:17
09966fa to
25bffc2
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 01:17
d7d6053 to
6536c67
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 01:32
25bffc2 to
ddd1aff
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 01:32
6536c67 to
817f0c2
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 06:27
ddd1aff to
1efc79d
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 06:27
817f0c2 to
2868d30
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 06:44
1efc79d to
d237fd8
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 06:44
2868d30 to
c29307d
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 07:01
c29307d to
7e0ff65
Compare
vespin-agent
Bot
force-pushed
the
luke/live-members-follow
branch
from
October 21, 2026 07:09
afcc83f to
181af0f
Compare
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 07:09
7e0ff65 to
f7fe51b
Compare
…wing over Neon Realtime The live procedure `workspaceInvitations` (GET /api/live/workspace-invitations?workspaceId=) seals one workspace's pending invitations for an owner or an admin of it, with the service's own origin each accept link is built on: not found for a workspace the account is not in, not permitted for one it neither owns nor administers, as the held read answers; or answers its rows inline where the reader polls or Realtime cannot seal it. The statement reads the plugin's own invitation rows still pending, holds the reader's managing role, so a reader demoted or gone stops reading them, and calls only immutable functions. The held read's expiry filter (expiresAt > now) moves to the desktop (workspaceInvitationsOfLiveRows), so the statement stays deterministic. Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
vespin-agent
Bot
force-pushed
the
luke/live-invitations-service
branch
from
October 21, 2026 07:31
f7fe51b to
11209ae
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 pending invitations. Stacked on #3942.
live.workspaceInvitations:originfor accept linksinvitationrows and gates on the reader's managing role.expiresAt > nowmoves toworkspaceInvitationsOfLiveRows, so the statement stays deterministic.Tests
Made with Luke