Repository navigation
test(think): class-only rows for the media-eviction successors (harness score J) - #3412
Merged
Merged
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/harness-class-only-dur-sched-2
branch
from
November 27, 2026 07:47
e833ef1 to
fcaeca5
Compare
mattzcarey
marked this pull request as ready for review
November 27, 2026 07:57
mattzcarey
force-pushed
the
slim/harness-class-only-dur-sched-2
branch
from
November 27, 2026 08:03
fcaeca5 to
69caf59
Compare
mattzcarey
force-pushed
the
slim/harness-class-only-dur-sched-2
branch
2 times, most recently
from
November 27, 2026 08:45
9e5a1a9 to
7b0bc35
Compare
… gave successors, and two mechanics-only rows
mattzcarey
force-pushed
the
slim/harness-class-only-dur-sched-2
branch
from
November 27, 2026 09:11
7b0bc35 to
7612533
Compare
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.
Class-only rows for media-eviction and ThinkConfigStore tests that reach Think's private seams. Rows only.
10 rows:
configure()/getConfig(), which never delete.Not class-only: ThinkConfigStore's "lifts Think's keys out of assistant_config and drops it" and "keeps a think_config value over the legacy one".
lastBodyis a row a released Think left, and an app sees it: a continued turn gets its request body back. So the shell owes the upgrade (arch's Q9), and the tests stay counted as failing until the shell restores the request context ("Think request context from an earlier release").The two pass-bookkeeping tests ("a second pass is a cheap no-op", "keeps a request that lands while a pass is running") are mechanics-only in #3416.
On the harness, the bounded-backlog successor proves the drain, not the chain. The shell's view re-reads after a pass's own rewrite, and that also asks for the next pass. On the class, the test fails with the chain removed.
Score (
pnpm test:harnesson this branch, main + these rows): 29 class-only on this branch (2 of them mechanics-only, the rest each with a successor): 19 on main and 10 added here.pnpm test:harnessat the earlier head with 29 rows gave 525 of 1321 and the check held. Since then two failing rows were removed and main gained two rows (#3415, #3417), andreadClassOnlyreads the list with no problems.