Repository navigation
feat(bench): count silent-stream retries per task - #343
Merged
Merged
Conversation
The #334 silent-stream retry logs only to the session debug file, which is written only when the binary runs with -D — so the 2026-11-26 run could not verify the retry firing rate (noted as a limitation in the baseline doc). Make the runner measure it: always pass -D for the fusion-code harness, then count 'Silent stream (no text/tool_use)' occurrences in configDir/debug/*.txt after each task. Report per-task silentRetry in the log line and rows, plus a silentRetries total in summary.json. Best-effort by design: a missing debug file counts as zero and never fails a run. Co-Authored-By: Claude Code <[email protected]>
This was referenced Nov 26, 2026
Merged
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.
Problem
#334 logs silent-stream retries only to the session debug file, written only when the binary runs with
-D. The 2026-11-26 regression therefore could not verify the retry firing rate (limitation noted in the baseline doc, PR #341).Change
-Dfor the fusion-code harness (was gated behindBENCH_DEBUG).Silent stream (no text/tool_use)occurrences inconfigDir/debug/*.txt.silentRetryin the task log line and summary rows, plus asilentRetriestotal insummary.json.Verification
tsc clean; no existing bench unit tests (runner verified by next regression run — first run with this change populates the new field).
🤖 Generated with Claude Code