Repository navigation
feat(host): a chat write is confirmed once its transaction reaches the followed chat - #4253
Closed
charleslpan wants to merge 1 commit into
Closed
charleslpan wants to merge 1 commit into
charleslpan wants to merge 1 commit into
Conversation
…e followed chat As Neon's mutations guide says: where the service answers a write's txid and the window follows that workspace's chat over Realtime, the host waits up to ten seconds for the transaction to arrive on the followed read (the TxWait liveRows hands out) before it answers, so the chat pushed to the window already holds the write. A write that changed nothing answers no txid and waits for nothing, as does one to a chat not followed or polled; past the wait the write is answered anyway, since it committed. 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
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.
Part of making workspace chat live over Neon Realtime. Stacked on #3923. One change: the host waits for a chat write's
txidbefore it answers, as Neon's mutations guide does.What changes
txid(feat(service,database): chat writes answer the transaction they committed in #4251) and the window follows that workspace's chat over Realtime,codingAgents.chatPostwaits up to 10 s before answering. It waits on theTxWaitthat P5'sliveRowshands out throughonTxWait.txid)Tests
compose-coding-agents.test.tscase:Made with Luke