Skip to content

fix/parser storage stability#2759

Open
jurgenvinju wants to merge 3 commits intomainfrom
fix/parser-storage-stability
Open

fix/parser storage stability#2759
jurgenvinju wants to merge 3 commits intomainfrom
fix/parser-storage-stability

Conversation

@jurgenvinju
Copy link
Copy Markdown
Member

@jurgenvinju jurgenvinju commented Apr 17, 2026

This PR is to help diagnostics of issues during parser storage (and the implicit parser generation process below it).

One of the main issues we encounter when using the parser storage features is incompleteness of the specification as a whole (missing modules which are imported or extended but not represented). A bit of incompleteness improves efficiency (a lot), so users filter their lists of modules. This may lead to missing syntax rules eventually. The current PR makes filtering a builtin feature, and reports missing modules as warnings so things do not go south implicitly anymore.

  • adds exclude filters to all file system crawl and find functions
  • links pcfg.ignores to the file system crawl excludes for Rascal modules during (stored) parser generation
  • improved reporting on missing modules during parser generation by adding localized warnings.

@sonarqubecloud
Copy link
Copy Markdown

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46%. Comparing base (f6d6bbe) to head (9f0e20d).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #2759   +/-   ##
=======================================
  Coverage       46%     46%           
+ Complexity    6725    6724    -1     
=======================================
  Files          794     794           
  Lines        65923   65923           
  Branches      9888    9888           
=======================================
+ Hits         30837   30839    +2     
- Misses       32696   32700    +4     
+ Partials      2390    2384    -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant