Repository navigation
fix(runner): reject unknown API inspection selections before probes - #220
Merged
n-papaioannou merged 1 commit intoOct 7, 2026
Conversation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
rudycelekli
requested review from
Sebabaian,
dimneo,
n-papaioannou and
stefyi-4355
as code owners
October 7, 2026 20:43
n-papaioannou
approved these changes
Oct 7, 2026
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.
Summary
Reject unknown IDs in
run_selectedinstead of silently omitting requested inspections. Moverun_single's existing ID lookup ahead of capability probes and judge construction. Both APIs now reject a bad selection before querying the agent, matching the CLI's existing validation.On current
main,await run_selected({"B02", "B999"}, provider)returns a report containing only B02;{ "B999" }returns an empty report. The single-test API raises for B999, but first probes the provider. The change reports the unknown IDs and available choices. Valid selections, including lists previously accepted at runtime, retain their results and provider teardown.Verification
ChatProvider; no monkeypatched runner/registry and no live or paid provider calls.ruff check ifixaiwith existing Ruff 0.15.21: passed.bandit -r ifixai -ll: passed.object.executeerrors, reproduced on the unchanged baseline; no new errors.ifixai validate: 60 inspections valid; all 11 example fixtures valid.Local checks reused an existing Python 3.11 dependency overlay. Actual fork CI passed all Python 3.10/3.11/3.12 jobs on
83952ad474918566454761881f6bc19d92410f1d, including layout/examples, Ruff and Bandit. Upstream PR checks are not yet reported (MERGEABLE / BLOCKED); this is not a claim of an upstream green check. This is a runner validation fix, with no inspection, fixture, or provider-registration change.