Repository navigation
feat(service,host): follow the sidebar's sections and pins over Neon Realtime - #3960
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 20, 2026 02:34
070b041 to
e039cd2
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 20, 2026 02:34
9a53d8f to
4c52728
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 20, 2026 03:26
e039cd2 to
d5e2009
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 20, 2026 03:26
4c52728 to
83c1c7c
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 00:11
9d6d1d3 to
71404b7
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 00:11
d5e2009 to
5b6c57f
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 00:28
71404b7 to
b77d8fb
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 00:28
5b6c57f to
8f57321
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 00:45
8f57321 to
7e3de95
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 00:45
b77d8fb to
5bb71a3
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 01:05
7e3de95 to
2653f58
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 01:05
5bb71a3 to
cad0bf9
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 01:17
2653f58 to
0125a26
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 01:17
cad0bf9 to
5f83b72
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 01:32
0125a26 to
e1b9e0d
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 01:32
5f83b72 to
c391d65
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 06:27
e1b9e0d to
91866e0
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 06:27
c391d65 to
9b5af2c
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 06:44
91866e0 to
a44ad29
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 06:44
9b5af2c to
402bcaa
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 07:01
a44ad29 to
58b567e
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 07:01
402bcaa to
524d313
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 07:09
58b567e to
a8dd191
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 07:09
524d313 to
00b5b31
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 07:31
a8dd191 to
aa445d0
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 07:31
00b5b31 to
28cb02e
Compare
luke-agent
Bot
force-pushed
the
luke/live-invitations-follow
branch
from
October 21, 2026 07:57
aa445d0 to
708d756
Compare
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 07:58
28cb02e to
87aa5c9
Compare
…llow Neon Realtime instead of every refresh The live procedure `sidebar` (GET /api/live/sidebar) seals the account's sidebar for the bearer as three live statements, its sections, the tasks it keeps in them, and its pinned repositories, with the same rows and rule of who may read them as listTaskSections and listRepositoryPins, each calling only immutable functions; or answers their rows inline where the reader polls or Realtime cannot seal them. The desktop orders them (sidebar-live.ts's sidebarOfLiveRows), since Realtime keeps none. The host follows them from the first refresh after a launch or a sign-in until a sign-out, as it follows the workspaces, and draws each change as it lands on the view, which every window and web tab already hears, a section or a pin made on another Mac among them. The pins and sections read inside every TASKS_REFRESH are gone; a write still draws the answer the service gives at once. Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
luke-agent
Bot
force-pushed
the
luke/live-sidebar
branch
from
October 21, 2026 08:14
87aa5c9 to
6bcb800
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 sidebar's sections and repository pins move onto the live layer. Service and host are in one PR because both are small. Stacked on #3956.
live.sidebar: three statements,sections,entriesandpins, with the same rows and access rule aslistTaskSectionsandlistRepositoryPins.sidebarOfLiveRows(sidebar-live.ts) orders them as the held reads do.liveRows, as it follows the workspaces, and writestaskSectionsandrepositoryPinsonto the view. The pins and sections reads inside everyTASKS_REFRESHare gone; a write still draws the service's answer at once.Tests
compose-tasks: one seal across refreshes, and another Mac's section and pin pushed in order.Made with Luke