eclipse-langium / langium

Next-gen language engineering / DSL framework
https://langium.org/
MIT License
665 stars 61 forks source link

CI/CLI: Generator errors in linting job do not cause pipeline to fail #1436

Closed bjthehun closed 2 months ago

bjthehun commented 3 months ago

While investigating the bugs I introduced with pull request #1401, I found out that language generation errors do not cause the lint job to fail in the build pipeline (see pipeline run 2238):

LangiumGenerateCIErrors

Even though language generation fails due to wrongly applied validations, the generator and build step pass, causing me to miss the aforementioned bugs. Therefore, this problem needs to be fixed.