Repository navigation
feat(host): a task's and an agent's write is confirmed once its transaction arrives on the followed task list - #4263
Closed
charleslpan wants to merge 1 commit into
Conversation
…action arrives on the followed task list The task list's follow hands its wait for a transaction (live-follow's TxWait, awaitTxId as Neon's mutations guide says) to the tasks composer. Each task write and each agent's start, rename, archive, and pin that answered a txid waits for it on the list before the window is answered, for at most ten seconds; one that changed nothing, or a list not yet subscribed, waits for nothing. Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
luke-agent Bot
added a commit
that referenced
this pull request
Oct 21, 2026
…action arrives on the followed task list The task list's follow hands its wait for a transaction (live-follow's TxWait, awaitTxId as Neon's mutations guide says) to the tasks composer. Each task write, and an agent's start, rename, archive, and pin, that answered a txid waits for it on the list with confirmWrite before the window is answered; one that changed nothing, or a list not followed over Realtime, waits for nothing. Ported from #4263. Co-authored-by: luke-agent[bot] <339870089+luke-agent[bot]@users.noreply.github.com>
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.
Stack 2 · Task list and automations, piece 5 of 10. Stacked on #3276 (
luke/neon-realtime-plan-list-host). Below that: #4259 → #3269 → #3265 →luke/live-tx-wait(P).The desktop now confirms a write only once the live task list shows it, as Neon's mutations guide says. The task-list follow hands its
TxWait(P5'sonTxWaitinlive-follow.ts, not a copy) tocompose-tasks.Before answering the window, these writes wait for their
txidon the followed list, for at most 10 s:compose-hosthandscompose-coding-agentsthe same wait (listed).A write that changed nothing, or one made while the list isn't subscribed yet, waits for nothing.
Test: a rename is answered only once its transaction arrives on the list, and a rename that changed nothing is answered at once. Removing the wait makes this test fail.
Made with Luke