fix: config overrides, resolver paths, diff preview, impact, FTS delete#114
Conversation
- Honor explicit empty include / excludeDirNames in config - Reject resolver targets outside project root (prefix-safe) - Allow empty after_pattern in diff preview (deletions) - Pick deterministic impact call-site file_path at min depth - deleteFileData also removes source_fts rows
🦋 Changeset detectedLatest commit: eee7ad3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (12)
📝 WalkthroughWalkthroughThis PR delivers five independent bug fixes to the codemap indexing engine: config arrays are now treatable as explicit empty overrides, diff patterns support empty strings for deletion hunks, file deletion includes FTS5 cleanup, resolver paths are validated for project containment, and impact engine caller selection is made deterministic via SQL windowing. ChangesCodemap Bug Fixes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add 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 |
Re-add parse/load/resolve coverage from main; keep empty include/exclude tests.
Summary
include/excludeDirNamesin.codemap/config.ts(replaces defaults when set, including[])./repo/appvs/repo/applicationno longer misclassified).after_patternso deletion rows appear informat=diff/diff-json.file_pathat minimum depth (ROW_NUMBERover callers).deleteFileData: also deletes matchingsource_ftsrows.Test plan
bun teston touched test filesSummary by CodeRabbit
New Features
Bug Fixes