feat: consolidate all new labeling rules with comprehensive tests#46
Merged
feat: consolidate all new labeling rules with comprehensive tests#46
Conversation
This PR consolidates all new auto-labeling rules into a single branch: Database Rules: - safe-migration (Issue #6): Safe migration detection Test Rules (Issues #7, #8, #9): - test-only-change: Test-only changes detection - test-missing: Missing tests detection - test-improvement: Test improvements detection Dependency Rules (Issues #10, #11, #12): - dependency-change: Dependency file changes - new-dependency: New dependencies added - dependency-downgrade: Dependency downgrades CI/CD Rules: - ci-change (Issue #13): CI workflow changes Infrastructure Rules: - infra-change (Issue #15): Infrastructure changes Semantics Rules (Issues #16, #17, #18, #19): - function-removed: Removed functions/classes - new-feature: New feature detection - non-functional-change: Non-code changes - refactor: Refactoring detection Security Rules: - security-change (Issue #20): Security-sensitive area changes - risky-code (Issue #21): Risky code patterns Meta Rules: - large-pr (Issue #22): Large PR detection - Enhanced existing meta rules (missing-description, no-linked-issue, work-in-progress) All rules include: - Comprehensive unit tests with 80%+ branch coverage - Proper metadata and descriptions - Debug mode support - Edge case handling
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.
Summary
This PR consolidates all new auto-labeling rules with comprehensive test coverage (80%+).
New Rules Added
Database Rules
Test Rules (Issues #7, #8, #9)
Dependency Rules (Issues #10, #11, #12)
CI/CD Rules
Infrastructure Rules
Semantics Rules (Issues #16, #17, #18, #19)
Security Rules
Meta Rules
Quality Metrics
✅ All 417 tests passing
✅ 80%+ branch coverage on all rules
✅ Comprehensive edge case handling
✅ Debug mode support for all rules
Issues Closed
Closes #6, #7, #8, #9, #10, #11, #12, #13, #15, #16, #17, #18, #19, #20, #21, #22