Skip to content

Check modules in compiler tests for parse errors - #3022

Open
toinehartman wants to merge 4 commits into
mainfrom
fix/parse-modules-before-compiler-test
Open

toinehartman wants to merge 4 commits into
mainfrom
fix/parse-modules-before-compiler-test

Conversation

@toinehartman

@toinehartman toinehartman commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Test with parse errors would be silently skipped. This PR fixes those tests.

@toinehartman toinehartman self-assigned this Nov 26, 2026
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46%. Comparing base (1a924e2) to head (027147e).

Additional details and impacted files
@@           Coverage Diff           @@
##              main   #3022   +/-   ##
=======================================
  Coverage       46%     46%           
- Complexity    6933    6937    +4     
=======================================
  Files          851     851           
  Lines        69360   69360           
  Branches     10110   10110           
=======================================
+ Hits         32178   32183    +5     
+ Misses       34744   34739    -5     
  Partials      2438    2438           

☔ View full report in Codecov by Harness.
📢 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.

@toinehartman
toinehartman marked this pull request as ready for review November 30, 2026 08:26
@sonarqubecloud

Copy link
Copy Markdown

mname = replaceAll(mname, "::", "/");
mloc = testModulesRoot + altPath + "<cleanName(mname)>.rsc";
writeFile(mloc, moduleText);
parseModuleWithSpaces(mloc);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a small comment on why we parse but ingnore the output.

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants