feat: add bidirectional repository consistency validation to registry validator - #1856
Open
jyotish6699 wants to merge 1 commit into
Open
Conversation
Add repository consistency validation to detect project directories that exist in the repository but are missing from the registry. Improve project discovery by scanning repository project directories and comparing them against registered entries. Enhance validation reporting with repository consistency information in both human-readable and JSON output. Add comprehensive unit tests covering: - Repository consistency validation - Unregistered project detection - Successful consistency validation - Existing registry validation behavior This helps maintainers keep projects_registry.json synchronized with the repository structure.
|
@jyotish6699 is attempting to deploy a commit to the Anuj's projects Team on Vercel. A member of the Team first needs to authorize it. |
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.
Description
This PR enhances the registry validator by introducing bidirectional repository consistency validation to improve synchronization between the repository structure and
projects_registry.json.Previously, the validator only verified that registered projects referenced existing repository files (Registry → Repository). This enhancement also validates the reverse direction by detecting project directories that exist in the repository but are missing from the registry.
Closes #1855
Changes
Bidirectional Repository Validation
projects_registry.json.Automatic Project Discovery
Reporting Improvements
Tests
Added unit tests covering:
Benefits
Testing