Skip to content

Create Plugin: Revert @grafana dep pins and re-enable test-updates CI job#2618

Closed
sunker wants to merge 1 commit intomainfrom
sunker/revert-pr-2577-grafana-dep-pins
Closed

Create Plugin: Revert @grafana dep pins and re-enable test-updates CI job#2618
sunker wants to merge 1 commit intomainfrom
sunker/revert-pr-2577-grafana-dep-pins

Conversation

@sunker
Copy link
Copy Markdown
Contributor

@sunker sunker commented May 7, 2026

What this PR does / why we need it:
Reverts the temporary workaround introduced in #2577, now that the NPM publishing issue for @grafana/* packages in grafana/grafana is resolved. The pinned exact versions (12.4.2) are replaced with a caret range (^12.4.3) to allow patch updates again, the Docker dev-server default is bumped to 12.4.3 to align, and the test-updates CI job is restored.

Which issue(s) this PR fixes:
Reverts #2577

Special notes for your reviewer:

@sunker sunker added the no-changelog Don't include in changelog and version calculations label May 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2026

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged and will trigger a new patch release.
NOTE: When merging a PR with the release label please avoid merging another PR. For further information see here.

@sunker sunker marked this pull request as ready for review May 7, 2026 08:35
@sunker sunker requested a review from a team as a code owner May 7, 2026 08:35
@sunker sunker requested review from Copilot, hugohaggmark and jackw May 7, 2026 08:35
@sunker sunker added patch Increment the patch version when merged release Create a release when this pr is merged and removed no-changelog Don't include in changelog and version calculations labels May 7, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR reverts the temporary dependency pinning workaround in the create-plugin common template now that upstream @grafana/* publishing is resolved, and restores CI coverage for the create-plugin update flow.

Changes:

  • Bump the default Grafana Docker dev-server version in the common template to 12.4.3.
  • Switch @grafana/{data,i18n,runtime,ui,schema} template dependencies from exact pins back to caret ranges (^12.4.3) to allow patch updates.
  • Re-enable the test-updates GitHub Actions job in CI.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/create-plugin/templates/common/.config/docker-compose-base.yaml Updates the default Grafana version used by the generated Docker setup to 12.4.3.
packages/create-plugin/templates/common/_package.json Restores caret ranges for core @grafana/* runtime deps in the scaffolded plugin template.
.github/workflows/ci.yml Re-enables the test-updates job to validate upgrading a plugin scaffolded with an older create-plugin version.

Comment thread .github/workflows/ci.yml
working-directory: ./packed-artifacts

- name: Test create-plugin update command
run: npx create-plugin update --force
@github-project-automation github-project-automation Bot moved this from 📬 Triage to 🔬 In review in Grafana Catalog Team May 7, 2026
@sunker
Copy link
Copy Markdown
Contributor Author

sunker commented May 7, 2026

Closing in favour of #2614

@sunker sunker closed this May 7, 2026
@github-project-automation github-project-automation Bot moved this from 🔬 In review to 🚀 Shipped in Grafana Catalog Team May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Increment the patch version when merged release Create a release when this pr is merged

Projects

Status: 🚀 Shipped

Development

Successfully merging this pull request may close these issues.

3 participants