Repository navigation
fix: correct conflict detection from nixpkgs source - #101
Conversation
WalkthroughThe conflict extractor now uses targeted patterns. The generated data removes the previous clang conflict and updates package, platform, and file-level conflict totals to zero. ChangesConflict extraction correction
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: 🔵 Low · up to Conflict reporting now uses narrower Nix markers, but commented or quoted marker text can still be reported as a real conflict, producing inaccurate package and platform totals. This is a bounded data-accuracy risk that should be addressed before relying on the generated results. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
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. A rabbit checks each marker bright Comment
There was a problem hiding this comment. Actionable comments posted: 1 🤖 Prompt for all review comments with AI agents🪄 AutofixFix all unresolved CodeRabbit comments on this PR:
ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.
There was a problem hiding this comment. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Ignore Nix comments and string literals before matching conflict markers. These regexes search raw source text. They report a conflict for text such as Also applies to: 221-221 🤖 Prompt for AI Agents
Comment on lines
+216
to
+219
There was a problem hiding this comment. 1. Broken packages appear to conflict extract_conflicts appends the literal assignment meta.broken = true as though it were the name of a conflicting package, despite the project's conflict model requiring two package names. Whenever this marker occurs, the generated dataset increments conflict_count and exposes a conflict with no opposing package, affecting every platform entry generated from that source. Agent Prompt
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.
|
Fixed extract_conflicts to match real nixpkgs conflict signals (meta.broken, notWith) instead of patch excludes attributes. Now 0 real conflicts detected across all platforms.
Summary by CodeRabbit
clangpackage, removing stale file conflicts and updating conflict totals to zero.notWithandforceRenamedassignments are handled separately.