test: add CLI coverage for graph deps and graph outputs - #1996
Draft
github-actions[bot] wants to merge 1 commit into
Draft
test: add CLI coverage for graph deps and graph outputs#1996github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: 2 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
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.
Test Gap Fixes
Test suite snapshot: 3205 unit tests, integration tests across tests/*.rs, existing fixture set
Added Coverage
src/inspect/cli.rs::dispatch_graph_deps/src/inspect/graph_deps.rs::analyzeado-aw graph deps --direction downstream --jsonsuccess pathgraph depssubcommand had zero CLI integration tests despitetests/inspect_integration.rscoveringinspect,graph dump, andlintgraph_deps_json_downstream_includes_dependent_jobssrc/inspect/graph_deps.rs::analyze(error path)GraphDepsError::StepNotFoundhad unit coverage in-module but no CLI-level assertion that the error message surfaces correctly and the process exits non-zerograph_deps_rejects_unknown_stepsrc/inspect/cli.rs::dispatch_graph_outputs/src/inspect/graph_outputs.rs::output_edgesado-aw graph outputsdefault listinggraph outputsalso had zero CLI integration testsgraph_outputs_lists_producer_and_consumerssrc/inspect/graph_outputs.rs::output_edges(filter path)--producerfilter with no matchoutput_edgesgraph_outputs_producer_filter_excludes_unmatched_producerValidation
cargo test --test inspect_integration(12 passed, 0 failed)cargo clippy --test inspect_integration --all-features(clean)git diff --name-onlyconfirms onlytests/inspect_integration.rschangedThis PR was created by the automated test gap finder. Previous run: 2026-08-17. Modules audited this cycle:
src/inspect/graph_deps.rsandsrc/inspect/graph_outputs.rsCLI integration paths (viatests/inspect_integration.rs);src/mcp_author/mod.rswas inspected but deferred since equivalent unit tests live insrc/mcp_author/tests.rs, outside this run's tests/* scope.*