Background
Following PR #1293 which added client-side SQL parsing using ANTLR and introduced the webui-generate-parser task in codegen.yaml, we should add a CI workflow to ensure the generated parser code stays up-to-date.
Proposal
Create a workflow similar to .github/workflows/clp-s-generated-code-checks.yaml but for the webui SQL parser:
- Run
task codegen:webui-generate-parser
- Check that no files were modified (generated code is up-to-date)
- Trigger on changes to:
components/webui/client/src/sql-parser/SqlBase.g4
taskfiles/codegen.yaml
- The workflow file itself
Context
This ensures the webui SQL parser generated code follows the same quality standards as the clp-s generated parsers.
Background
Following PR #1293 which added client-side SQL parsing using ANTLR and introduced the
webui-generate-parsertask incodegen.yaml, we should add a CI workflow to ensure the generated parser code stays up-to-date.Proposal
Create a workflow similar to
.github/workflows/clp-s-generated-code-checks.yamlbut for the webui SQL parser:task codegen:webui-generate-parsercomponents/webui/client/src/sql-parser/SqlBase.g4taskfiles/codegen.yamlContext
codegen.yaml; Remove unused clientpackage-lock.json. #1293codegen.yaml; Remove unused clientpackage-lock.json. #1293 (comment)This ensures the webui SQL parser generated code follows the same quality standards as the clp-s generated parsers.