Skip to content

test: a nightly Think soak on a real model - #3350

Merged
mattzcarey merged 5 commits into
mainfrom
slim/nightly-soak
Nov 27, 2026
Merged

mattzcarey merged 5 commits into
mainfrom
slim/nightly-soak

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

The nightly workspace gets a soak suite (cd nightly && pnpm run soak): Think on a real Workers AI model (glm-4.7-flash), three rooms of twelve turns each, run at once. The turns cycle through a plain question, a server tool, a client tool the tab answers, a tool that needs approval (the tab approves it) and a submission. Two replies per room are cut off by ctx.abort() once they stream, and a new tab picks the conversation up.

The model's words are never checked. After each room the suite checks:

  • every message the user sent is in the transcript once, in order;
  • every one is answered with text, and no tool waits on the user;
  • the weather turns used their tool, and no server tool call ran twice;
  • one completed submission record per submitted turn;
  • the object restarted for each reset, and recovery took up each cut-off reply;
  • each tab's requests got one done frame (a request cut off by a reset ends on the next tab, as a replay);
  • the fault suite's checks (recovery incidents end once, no duplicate ids, no empty reply), and a returning tab is replayed an offered stream to its end.

The soak takes as long as its slowest room, at most 30 minutes (the test timeout). An extension loaded from source, an agent tool whose child is a facet, the harness-backed Think and a room run as a facet come in a follow-up (slim/nightly-soak2). The nightly workflow (#3341) runs the suite.

SOAK_LOG=<file> writes one line per turn and per wait, for watching a run.

Validated: 3 of 3 rooms passed against a deployment (36 turns, 6 resets, 4 minutes at night, 15 minutes by day).

@changeset-bot

changeset-bot Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c4ee4a1

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@3350

@cloudflare/ai-chat

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

@cloudflare/codemode

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

hono-agents

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

@cloudflare/shell

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

@cloudflare/think

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

@cloudflare/voice

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

@cloudflare/worker-bundler

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

commit: c4ee4a1

@agent-think

agent-think Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (b24083ce → c4ee4a17, workflow run)

@mattzcarey
mattzcarey marked this pull request as ready for review November 27, 2026 03:11
devin-ai-integration[bot]

This comment was marked as resolved.

@mattzcarey
mattzcarey force-pushed the slim/nightly-pi branch 2 times, most recently from e5e53a8 to dc323f4 Compare November 27, 2026 04:03
Base automatically changed from slim/nightly-pi to main November 27, 2026 05:00
devin-ai-integration[bot]

This comment was marked as resolved.

devin-ai-integration[bot]

This comment was marked as resolved.

@mattzcarey
mattzcarey merged commit 5efa3d7 into main Nov 27, 2026
16 checks passed
@mattzcarey
mattzcarey deleted the slim/nightly-soak branch November 27, 2026 05:30
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