Skip to content

OPG-514: Update to Grafana 12.4.0. Add CLAUDE.md. Fix 'npm run dev'#1061

Merged
synqotik merged 2 commits intorelease-12.xfrom
jira/OPG-514-grafana-12.4.0
Mar 5, 2026
Merged

OPG-514: Update to Grafana 12.4.0. Add CLAUDE.md. Fix 'npm run dev'#1061
synqotik merged 2 commits intorelease-12.xfrom
jira/OPG-514-grafana-12.4.0

Conversation

@synqotik
Copy link
Copy Markdown
Contributor

@synqotik synqotik commented Mar 5, 2026

Grafana just released v12.4.0, so we may as well update. Seems like a lot of changes and bug fixes.

Fixed an issue where npm run dev, i.e. building and running in development mode, was failing.

ForkTsCheckerWebpackPlugin in .config/webpack.config.ts is only created in development mode. Ultimately it makes calls to the ajv library, which were failing.

Basically, ajv has other dependencies like ajv-keywords which all have to be update in step with each other, otherwise things like undefined properties result.

We had to update ajv using overrides due to OSV security issues, and various ajv are used, so this can be tricky.

Used Claude Code to help with that ajv issue, so added a CLAUDE.md as well.

External References

@synqotik synqotik requested a review from cgorantla March 5, 2026 21:49
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 5, 2026

@synqotik synqotik requested a review from mershad-manesh March 5, 2026 21:53
Copy link
Copy Markdown

@cgorantla cgorantla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@synqotik synqotik merged commit e366050 into release-12.x Mar 5, 2026
12 checks passed
@synqotik synqotik deleted the jira/OPG-514-grafana-12.4.0 branch March 5, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants