test(wave-1): sync skipped reasons + query repos regression guard#52
Open
juice094 wants to merge 2 commits into
Open
test(wave-1): sync skipped reasons + query repos regression guard#52juice094 wants to merge 2 commits into
juice094 wants to merge 2 commits into
Conversation
…path_excluded) Wave 1 coverage: add 3 tests for the new SkippedRepoInfo return type. - test_collect_tasks_default_mode_excludes_untagged: verify reason='unmanaged' - test_collect_tasks_exclude_reason: verify --exclude produces reason='excluded' - test_collect_tasks_path_excluded_reason: verify exclude_paths produces reason='path_excluded' (uses cross-platform temp_dir for Windows compat)
109b570 to
0971f52
Compare
…ories Regression guard for the fix in PR #49: ensures that 'query repos' short-circuits keyword filtering and returns the full registry list.
0971f52 to
a00cbac
Compare
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
Wave 1 of the v0.21.0 architecture hardening plan: close coverage gaps in high-touch CLI paths.
New tests
sync module (3 tests)
query module (1 test)
Verification
running 5 tests
test sync::tests::test_collect_tasks_default_mode_excludes_untagged ... ok
test sync::tests::test_collect_tasks_default_mode_includes_known_tags ... ok
test sync::tests::test_collect_tasks_exclude_reason ... ok
test sync::tests::test_collect_tasks_explicit_filter_includes_untagged ... ok
test sync::tests::test_collect_tasks_path_excluded_reason ... ok
test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 454 filtered out; finished in 0.01s — 5 passed
running 1 test
test query::tests::test_run_json_repos_returns_all ... ok
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 458 filtered out; finished in 0.00s — 1 passed