Skip to content

Add ignore rule regression coverage - #2720

Merged
Widthdom merged 2 commits into
mainfrom
codex/fix-issue1712-1782-current
May 31, 2026
Merged

Add ignore rule regression coverage#2720
Widthdom merged 2 commits into
mainfrom
codex/fix-issue1712-1782-current

Conversation

@Widthdom

Copy link
Copy Markdown
Owner

Summary

  • Add regression coverage for per-directory .cdidxignore precedence, including child re-include behavior and sibling isolation.
  • Add regression coverage for --files updates that include ignore-file changes, confirming stale newly ignored rows are purged.

Validation

  • dotnet test --filter "FullyQualifiedName~FileIndexerTests.ScanFiles_PerDirectoryCdidxIgnore_AppliesChildRulesWithoutLeakingToSiblings|FullyQualifiedName~IndexCommandRunnerTests.Run_UpdateMode_WhenIgnoreFileChanges_FallsBackToFullScanAndPurgesNowIgnoredRows"
  • dotnet run --project tools/CodeIndex.Changelog -- check
  • dotnet ./src/CodeIndex/bin/Debug/net8.0/cdidx.dll index . --commits b7934f817 bfac2c957 --json
  • Codex adversarial review: No blocking/actionable issues found.

Documentation and changelog

  • Added changelog.d/unreleased/1712.fixed.md.
  • Added changelog.d/unreleased/1782.fixed.md.

Follow-up candidates

  • None.

Fixes #1712
Fixes #1782

@Widthdom
Widthdom marked this pull request as ready for review May 31, 2026 04:48
@Widthdom
Widthdom merged commit 8335677 into main May 31, 2026
10 checks passed
@Widthdom
Widthdom deleted the codex/fix-issue1712-1782-current branch May 31, 2026 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ignore-rule changes silently degrade the index until full rebuild No per-directory ignore-file overrides; rules are workspace-root only

1 participant