Repository navigation
test(think): the typing test settles the requests it stalls - #3499
Closed
mattzcarey wants to merge 2 commits into
Closed
mattzcarey wants to merge 2 commits into
mattzcarey wants to merge 2 commits into
Conversation
…ng pending leaks into later tests
|
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
marked this pull request as draft
November 28, 2026 13:19
mattzcarey
marked this pull request as ready for review
November 28, 2026 13:19
mattzcarey
force-pushed
the
slim/think-typing-test-owns-request
branch
from
November 28, 2026 14:21
22a93ce to
ef10a31
Compare
mattzcarey
marked this pull request as draft
November 28, 2026 14:22
mattzcarey
marked this pull request as ready for review
November 28, 2026 14:45
Member
Author
|
Replaced by #3503, which carries this change with the rest of its unit, integrated and tested together. |
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.
Hygiene in
messengers.test.ts: the typing test ("still posts the reply when the first/refresh typing request never settles") stalled each typing request withnew Promise(() => {}), a promise that never settles and outlives the test.finallyonce its assertions have run, so nothing it started is left pending.This doesn't fix the intermittent "Cannot perform I/O on behalf of a different Durable Object (Lock)" unhandled rejection that Vitest attributes to this test. That rejection still shows in about 1 of 3 local runs of the file with this change, and its owner isn't found yet.
Tests only, no changeset.