refactor(cli): drop the preview's own entry parse error check #257

Merged
abiwab merged 1 commit from refactor/view-serve-entry-parse-error into dev/1.6 2026-11-25 18:38:07 +01:00
Owner

Since #253 (merged into dev/1.6 by #256), runPipeline throws the parser's GramParseError for a syntax error in the recipe file itself. The live preview's entryParseError() (looking for a MODULE_PARSE_ERROR on the entry among the compiled warnings) can no longer match: the exception reaches errorDiagnostic(), which already turns it into a blocking PARSE_ERROR with its offset. Removed; the preview server test now checks the banner's code is PARSE_ERROR. No changeset: unreleased dev/1.6 code.

Since #253 (merged into dev/1.6 by #256), `runPipeline` throws the parser's `GramParseError` for a syntax error in the recipe file itself. The live preview's `entryParseError()` (looking for a `MODULE_PARSE_ERROR` on the entry among the compiled warnings) can no longer match: the exception reaches `errorDiagnostic()`, which already turns it into a blocking `PARSE_ERROR` with its offset. Removed; the preview server test now checks the banner's code is `PARSE_ERROR`. No changeset: unreleased dev/1.6 code.
refactor(cli): drop the preview's own entry parse error check
All checks were successful
CI / Build & Test (pull_request) Successful in 4m46s
9804619a12
abiwab merged commit a6ba56fde3 into dev/1.6 2026-11-25 18:38:07 +01:00
abiwab deleted branch refactor/view-serve-entry-parse-error 2026-11-25 18:38:07 +01:00
Sign in to join this conversation.
No description provided.