fix(index): limit include-tags to matching tag exclusions - #7536
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughTemplate filtering now restricts ChangesFilter semantics
Estimated code review effort: 3 (Moderate) | ~20 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Lint should be fixed by #7537 |
The lint related is already in and it just needs to rebase from dev, @Mzack9999. |
IncludeTags in the metadata index was treated as a forced include, so `-itags` could bypass explicit ID/path filters and other include criteria, while also let a template thru when it had both an included tag and a different excluded tag. Match the parsed-template filter instead: an included tag only cancels exclusion for that same tag. Other exclusions and normal include filters still apply, while IncludeTemplates remains the explicit path override. Fixes #7534 Signed-off-by: Dwi Siswanto <git@dw1.io>
431a69b to
a61b99d
Compare
Proposed changes
IncludeTags in the metadata index was treated as
a forced include, so
-itagscould bypassexplicit ID/path filters and other include
criteria, while also let a template thru when it
had both an included tag and a different excluded
tag.
Match the parsed-template filter instead: an
included tag only cancels exclusion for that same
tag. Other exclusions and normal include filters
still apply, while IncludeTemplates remains the
explicit path override.
Fixes #7534
Proof
Checklist
Summary by CodeRabbit