Conversation
JPercival
commented
Sep 24, 2025
- Makes a CqlIncludeException a type of CqlCompilerException
- Reduces unused overloads of CqlCompilerExceptions
- Use only one list to track all exception types (as opposed to 4)
- Next steps
- Compiler: Make locator non-nullable, ensure we have context to provide a locator everywhere an exception is thrown
- Engine: Support returning multiple compiler exceptions, instead of flattening them all into one message
|
Formatting check succeeded! |
86de4e7 to
b244e0c
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1605 +/- ##
=========================================
Coverage 62.88% 62.88%
Complexity 1863 1863
=========================================
Files 341 341
Lines 14925 14925
Branches 2966 2966
=========================================
Hits 9385 9385
Misses 4060 4060
Partials 1480 1480 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
|
@JPercival - One of our CQL Translations Service tests just started failing with this change. It is a test for properly returning an error when an included library is missing. Whereas a missing library used to result in this annotation: {
"type": "CqlToElmError",
"libraryId": "CMS146",
"libraryVersion": "2",
"startLine": 5,
"startChar": 1,
"endLine": 5,
"endChar": 37,
"message": "Could not load source for library CMSAll, version 1, namespace uri null.",
"errorType": "include",
"errorSeverity": "error",
"targetIncludeLibraryId": "CMSAll",
"targetIncludeLibraryVersionId": "1"
}It now results in this annotation: {
"type": "CqlToElmError",
"libraryId": "CMS146",
"libraryVersion": "2",
"startLine": 5,
"startChar": 1,
"endLine": 5,
"endChar": 37,
"message": "Could not load source for library CMSAll, version 1, namespace uri null.",
"errorType": "internal",
"errorSeverity": "error"
}Note that:
I see that |

