Ensure Search Parser Consistency: Add GitHub Action for Verification
Problem
Currently, it is possible to modify the search parser .js files without updating the corresponding .peggy grammar files. This can lead to inconsistencies and discrepancies between the parser implementation and its intended structure. Since we do not have any verification in place to ensure that changes in one are properly reflected in the other, errors may go unnoticed.
Proposal
To prevent this issue, we should add a GitHub Action that verifies whether changes in the .js parser files only occur when there are corresponding modifications in the .peggy files. This check would help maintain consistency and ensure that all updates to the parser are properly reflected in its configuration.
Expected Outcome
- Reduce inconsistencies between parser implementation and configuration.
- Prevent accidental modifications that could lead to incorrect parsing behavior.
@Kicu @blazejkustra
Issue Owner
Current Issue Owner: @slafortune
Ensure Search Parser Consistency: Add GitHub Action for Verification
Problem
Currently, it is possible to modify the search parser
.jsfiles without updating the corresponding.peggygrammar files. This can lead to inconsistencies and discrepancies between the parser implementation and its intended structure. Since we do not have any verification in place to ensure that changes in one are properly reflected in the other, errors may go unnoticed.Proposal
To prevent this issue, we should add a GitHub Action that verifies whether changes in the
.jsparser files only occur when there are corresponding modifications in the.peggyfiles. This check would help maintain consistency and ensure that all updates to the parser are properly reflected in its configuration.Expected Outcome
@Kicu @blazejkustra
Issue Owner
Current Issue Owner: @slafortune