Repository navigation
Chat: a tab that was away learns how its requests ended (4.iii 6f, parity 9, draft) - #3330
Closed
mattzcarey wants to merge 2 commits into
Closed
mattzcarey wants to merge 2 commits into
mattzcarey wants to merge 2 commits into
Conversation
|
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 ( |
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 00:44
63d0119 to
9acb735
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 00:44
10e884a to
7a4cd7e
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 00:49
9acb735 to
36282b5
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 00:49
7a4cd7e to
27ae904
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 01:01
36282b5 to
838b440
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 01:01
27ae904 to
9b01f56
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 01:07
838b440 to
8b8b7e2
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 01:07
9b01f56 to
40beccd
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 01:20
8b8b7e2 to
ccf1bbf
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 01:20
40beccd to
67b5098
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 01:30
ccf1bbf to
7cc6599
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 01:30
67b5098 to
42d4533
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 01:39
7cc6599 to
add603d
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 01:39
42d4533 to
bb5d7c8
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 02:01
add603d to
a311aaf
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 02:01
bb5d7c8 to
4205e6a
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 02:04
a311aaf to
ea9da78
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 02:04
4205e6a to
7a0e7e7
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 02:07
ea9da78 to
ef04339
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 02:07
7a0e7e7 to
ebd8f5f
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 02:13
ef04339 to
530c237
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 02:13
ebd8f5f to
7fec15c
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 02:27
530c237 to
16c91c2
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 02:27
7fec15c to
836896e
Compare
…d (ChatDeps.kv, the recent-terminals record; arch ruling)
…module (ChatDeps.kv)
mattzcarey
force-pushed
the
slim/chat-fn-6f9
branch
from
November 27, 2026 04:12
16c91c2 to
3197c8c
Compare
mattzcarey
force-pushed
the
slim/chat-fn-6f10
branch
from
November 27, 2026 04:12
cdffe74 to
82fc0a7
Compare
mattzcarey
added a commit
that referenced
this pull request
Nov 27, 2026
…placed connections only for double ends (until #3330), README
mattzcarey
added a commit
that referenced
this pull request
Nov 27, 2026
* test(nightly): a seeded reset fuzz on the fault Worker * test(fuzz): write each run's requests and trace to results/, check replaced connections only for double ends (until #3330), README * test(fuzz): each tab and the resetter draw from their own seeded stream; a run must reset the object at least once * docs(nightly): FUZZ_MINUTES must be 2 or more * test(fuzz): same draws per step whatever the socket did, cancel only a request still streaming, the object must restart, the seed in each test's name, every connection's frames and the transcript in results/ * test(fuzz): the late tab's frames in results/
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 9, stacked on #3322. A tab that was away when its request ended learns how it ended, per arch's ruling (6f terminals).
ChatDepsgainskv, the object's synchronous key-value storage (the existingRecentTerminalsKvtype). The module writes the same bounded record under the same key (cf:chat-recent-terminals, 16 requests), so released records read as they are.latest/merge, is recordedskipped. A chat clear forgets the record.resumeChat(…, requestIds): the request ids a tab says it still waits on.replaydone frame.STREAM_RESUMING, andreplayTurnon its ack sends its recorded end. That's the only frame a tab surfaces as the request's outcome, asResumeHandshakedoes today.Tests (the first three fail without the change; the clear test only guards the clear):
Cost: as today. One KV read and one write per request end. One KV read per resume request that names ids.