Skip to content

test(think): class-only rows for the media-eviction successors (harness score J) - #3412

Merged
mattzcarey merged 1 commit into
mainfrom
slim/harness-class-only-dur-sched-2
Nov 27, 2026
Merged

mattzcarey merged 1 commit into
mainfrom
slim/harness-class-only-dur-sched-2

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Class-only rows for media-eviction and ThinkConfigStore tests that reach Think's private seams. Rows only.

10 rows:

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". lastBody is 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:harness on 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:harness at 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), and readClassOnly reads the list with no problems.

@changeset-bot

changeset-bot Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 7612533

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@3412

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@3412

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@3412

hono-agents

npm i https://pkg.pr.new/hono-agents@3412

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@3412

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@3412

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@3412

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@3412

commit: 7612533

@agent-think

agent-think Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (b6862ac8 → 7612533a, workflow run)

Base automatically changed from slim/harness-score-J-2 to main November 27, 2026 07:26
@mattzcarey
mattzcarey force-pushed the slim/harness-class-only-dur-sched-2 branch from e833ef1 to fcaeca5 Compare November 27, 2026 07:47
@mattzcarey
mattzcarey marked this pull request as ready for review November 27, 2026 07:57
@mattzcarey
mattzcarey force-pushed the slim/harness-class-only-dur-sched-2 branch from fcaeca5 to 69caf59 Compare November 27, 2026 08:03
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@mattzcarey
mattzcarey force-pushed the slim/harness-class-only-dur-sched-2 branch 2 times, most recently from 9e5a1a9 to 7b0bc35 Compare November 27, 2026 08:45
devin-ai-integration[bot]

This comment was marked as resolved.

… gave successors, and two mechanics-only rows
@mattzcarey
mattzcarey force-pushed the slim/harness-class-only-dur-sched-2 branch from 7b0bc35 to 7612533 Compare November 27, 2026 09:11
@mattzcarey
mattzcarey merged commit 3774c91 into main Nov 27, 2026
18 checks passed
@mattzcarey
mattzcarey deleted the slim/harness-class-only-dur-sched-2 branch November 27, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant