Skip to content

Add workflow to check webui SQL parser generated code is up-to-date #1297

@coderabbitai

Description

@coderabbitai

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions