grafana/apps/dashboard/pkg/apis
Igor Suleymanov 7aed0da22c
Add a CI step for checking app SDK codegen status (#111528)
* Add a CI step for checking app SDK codegen status

What

This commit adds a CI step for checking the status of code generated
with Grafana App SDK. The step fails if there is a git diff as a result
of the codegen step.

It also updates generated code to make sure we're starting from a
correct state.

Why

This ensures that when the schemas or the SDK version are updated, the
codegen mismatch is caught early at the PR stage.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Format generated code

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

---------

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2025-09-24 15:37:57 +03:00
..
dashboard Add a CI step for checking app SDK codegen status (#111528) 2025-09-24 15:37:57 +03:00
dashboard_manifest.go Add a CI step for checking app SDK codegen status (#111528) 2025-09-24 15:37:57 +03:00