Repository navigation
test(change-detection): сквозная проверка набора с корнем служебного имени - #351
Merged
Merged
Conversation
…лизируется (#302) - тесты: набор с корнем `build` и порождённая копия EDT `workPath/designer/build` анализируются через SourceSetsService, правка в корне видна, а правка в служебном `build` внутри набора — нет - INV.USE-CASES.CHANGES-ARE-DETECTED-ON-DEMAND: служебные и порождённые каталоги пропускаются только внутри набора, корень сканируется всегда; новые тесты в check - тест сканера на выбранный корень перенесён после импортов модуля тестов - сама правка обхода (`depth() == 0` в filter_entry) уже в master с #343 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GaCotKhgD8MYAPKjaPPWKh
- CHANGES-ARE-DETECTED-ON-DEMAND ссылается на A-SELECTED-ROOT-IS-SCANNED-WHATEVER-ITS-NAME вместо повтора - сквозные тесты корня с именем build и копии EDT перенесены в check правила о корне Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GaCotKhgD8MYAPKjaPPWKh
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
- replace the self-fulfilling file assertion with a check that the EDT set named build maps to workPath/designer/build Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GaCotKhgD8MYAPKjaPPWKh
This was referenced Oct 5, 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.
Closes #302. Волна 0 плана #233.
Что было
Сам фильтр сканера уже поправил #343 (130b8bc):
filter_entry(|e| e.depth() == 0 || !is_ignored_dir(e)). Там же появились тест сканера и правилоINV.USE-CASES.A-SELECTED-ROOT-IS-SCANNED-WHATEVER-ITS-NAME. Сквозной проверки, что изменения в таком наборе действительно видны, не было.Что добавлено
src/change_detection/source_sets.rsдва теста. В обоих правится модуль в корне набора и файл во вложенном служебномbuild; ожидается ровно одно изменение —Modifiedпо модулю.a_source_set_rooted_at_a_service_named_directory_is_analyzed— набор Конфигуратора с путёмbuild.a_generated_designer_copy_named_build_is_analyzed— набор EDTbuildс корнемworkPath/designer/build.checkправила о корне, и оно теперь называет и копию EDT.INV.USE-CASES.CHANGES-ARE-DETECTED-ON-DEMANDссылается на это правило, а не повторяет его.Проверка
depth() == 0) оба новых теста падают; с текущим проходят.change_detection: 30/30.cargo fmt,cargo clippy --all-targets -D warnings— чисто.arch_rules: 12/12.cargo test: всё зелёное, кромеplatform::git::tests::an_unreadable_subdirectory_is_unknown_not_clean. Он падает только в контейнере: тесты идут от root, иchmod 000не мешает чтению.🤖 Generated with Claude Code
https://claude.ai/code/session_01GaCotKhgD8MYAPKjaPPWKh
Generated by Claude Code