Repository navigation
fix(roadmap): log the searches and URL of a refused check - #6567
Merged
Merged
Conversation
The result line of a failed alternatives check gave searches=0, although a url or no_facts refusal comes only after an answered search. CheckFailure now keeps the answered searches of the run, and the result line gives them. A url refusal logs one WARNING for each source URL that no tool of the run returned, so that #6394 can measure the cause. Closes #6346
A failed alternatives check wrote returns=0 on its result line, also after the run sent a refused reply back to the model. CheckFailure now keeps the run's returns, and each failure of an agent run sets them. Three tests now hold the search count of a failed model call, an unpaired marker and a failed read of the tools in use.
dan-petty
marked this pull request as ready for review
November 20, 2026 23:36
dan-petty
pushed a commit
that referenced
this pull request
Nov 20, 2026
🤖 I have created a release *beep* *boop* --- ## [0.185.2](v0.185.1...v0.185.2) (2026-11-20) ### Bug Fixes * **deps:** update Helm release pyroscope to v2.4.4 ([#6565](#6565)) ([0f75e18](0f75e18)) * **roadmap:** log the searches and URL of a refused check ([#6567](#6567)) ([eec4677](eec4677)) ### Code Refactoring * **deps:** delete install-tools and the tools lock ([#6555](#6555)) ([ebec015](ebec015)), closes [#4363](#4363) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
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.
The result line of a refused or failed alternatives check gave searches=0 and returns=0, but a url or no_facts refusal comes only after an answered search, and a refusal can follow a return to the model. No log line named the URL that a url refusal cites, so the cause of the refusals could not be measured.
CheckFailure now keeps the searches that a provider answered and the returns of the run, and the result line gives both counts for each failure of an agent run. When the job refuses a reply for reason url, it logs one WARNING for each source URL that no tool of the run returned, with the item number and the reason code. #6394 uses these lines to find the cause.
Closes #6346
Change:
openspec/changes/archive/2026-11-20-6346-alternatives-refusal-count/