Repository navigation
Chat: messageConcurrency as the lane's arrival policy (4.iii 6f, parity 1, draft) - #3308
Closed
mattzcarey wants to merge 2 commits into
Closed
mattzcarey wants to merge 2 commits into
mattzcarey wants to merge 2 commits into
Conversation
|
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 26, 2026 23:17
ce1677d to
5fa1b0d
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
from
November 26, 2026 23:17
e892081 to
cb0c93d
Compare
agents
@cloudflare/ai-chat
@cloudflare/codemode
hono-agents
@cloudflare/shell
@cloudflare/think
@cloudflare/voice
@cloudflare/worker-bundler
commit: |
Contributor
|
✅ agents import sizes: no significant changes ( |
This was referenced Nov 26, 2026
Closed
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
from
November 26, 2026 23:33
cb0c93d to
0603071
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 26, 2026 23:45
89365cb to
d83717c
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
from
November 26, 2026 23:45
0603071 to
65c57ff
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 26, 2026 23:52
d83717c to
8e0a33d
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
4 times, most recently
from
November 27, 2026 00:43
4c2daf9 to
720b90e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 27, 2026 00:48
47bc9e6 to
e8d20c7
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
4 times, most recently
from
November 27, 2026 01:20
bd30552 to
38dab6e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 27, 2026 01:28
c7cb4eb to
9b7d4b5
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
2 times, most recently
from
November 27, 2026 01:39
7b1fd32 to
ecc5043
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 27, 2026 01:59
aa962bd to
3c7f3b4
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
4 times, most recently
from
November 27, 2026 02:13
102698b to
ab0d47c
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 27, 2026 02:26
bff6bea to
96c0d3f
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
from
November 27, 2026 02:27
ab0d47c to
9636fcf
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6d
branch
from
November 27, 2026 04:09
96c0d3f to
e44a940
Compare
…bmitTurn and chatDispatch
… replaced request is told it was skipped; tests for drop, merge, debounce and a regenerate under drop (rv-3)
mattzcarey
force-pushed
the
slim/chat-fn-6f1
branch
from
November 27, 2026 04:11
9636fcf to
77bec88
Compare
Member
Author
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.
DRAFT, 4.iii 6f parity step 1, stacked on #3298. A host's
messageConcurrencybecomes the lane's arrival policy (ChatLane.arrival), applied to new messages (submit-message) only:queuewaits its turn;latestskips the waiting turns that arrived the same way. The turn that arrives carries their questions (the messages they would have stored when they started) and answers them all;mergeislatestwith the queued questions joined into one message (mergeUserMessages), which keeps the newest one's id, as AIChatAgent's merge does;dropdoesn't start a turn while one runs;{ debounceMs }islatestthat also waits for quiet.A request that is dropped or replaced ends at once for the tabs: a
doneframe with outcomeskipped, since its turn never runs to say so.Tests:
Cost: a latest, merge or debounce submit lists the lane's waiting runs once.