Repository navigation
test(think): public successors for a stall's attempt count and give-up (group A) - #3445
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/harness-A-successors-4
branch
from
November 27, 2026 09:56
5beba3a to
ee882ca
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-3
branch
from
November 27, 2026 09:56
7eb51fd to
6565b0b
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-4
branch
from
November 27, 2026 10:33
ee882ca to
5ffc62a
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-3
branch
from
November 27, 2026 10:33
6565b0b to
1bfbab7
Compare
…ry's attempt resets on progress, the give-up at maxAttempts + 1 does not
…rn seals with work_budget_exceeded
mattzcarey
force-pushed
the
slim/harness-A-successors-4
branch
from
November 27, 2026 10:43
5ffc62a to
36cdf99
Compare
mattzcarey
force-pushed
the
slim/harness-A-successors-3
branch
from
November 27, 2026 10:43
1bfbab7 to
e2bbd7c
Compare
Member
Author
|
Folded into #3455 (one PR for group A's successors, per Matt's drain rule). The branch stays. |
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.
Group A successors for "progress and the attempt budget", written to arch's ruling ("arch ruling (std A progress)"). Stacked on #3443. Tests only, no changeset.
Arch's ruling: one option drives two counts, on purpose.
max_attempts_exceededat stall numbermaxAttempts + 1, whatever the progress.attempt: the count that goes back to 1 when the last attempt made progress.armLastingStallForTestgains aprogressingoption: each model call writes new text, 30 chunks, so some land in the stream log before the stall.max_attempts_exceeded)Not written, and why:
CHAT_RECOVERY_ALARM_DEBOUNCE_MS(30 s) collapse into one attempt, so two quick stalls without progress both report attempt 1 (measured on the class). Nothing in the test config moves the agent's clock, and a fixed 30 s wait isn't allowed. So that clause of 4634 gets no successor. Its row will say "needs interruptions more than CHAT_RECOVERY_ALARM_DEBOUNCE_MS apart; drives beginIncident", for rv-6 to confirm.maxAttemptsup tomaxInterruptedAttempts: this needs several real resets in one test. It's next. If the pool can't drive that many, the row is mechanics-only ("drivesbeginIncident"), per arch.work_budget_exceeded, withmaxRecoveryWork: 2. It passes on the class.The class-only rows for 4634 and its siblings come when their successors pass on the shell.
On the harness config: all three (the attempt count with progress, the give-up at maxAttempts + 1, and the work budget) pass with A-4 (the turn definition's recovery budget).
On the harness config: all three (the attempt count with progress, the give-up at maxAttempts + 1, and the work budget) pass with A-4, the turn definition's recovery budget.