Skip to content

Conversation

szkiba
Copy link
Contributor

@szkiba szkiba commented Jul 9, 2025

To maintain compatibility and continue the integration of xk6-dashboard with the main Grafana k6 repository, the spf13/cobra dependency downgraded from its current version (v1.9.1) to v1.4.0. This is to align with the version of spf13/cobra currently in use by Grafana k6.

Problem

The upstream Grafana k6 project uses an older version of the spf13/cobra library (v1.4.0). The current version in this repository (v1.9.1) creates a dependency conflict, which blocks the seamless integration of newer xk6-dashboard versions into Grafana k6.

Impact

As a direct consequence of this downgrade, the szkiba/docsme build-time tool, which is used for automatically generating the cmd/k6-web-dashboard/README.md file, will no longer be compatible.

Therefore, any future updates to the cmd/k6-web-dashboard/README.md file will need to be performed manually. This manual process will remain in effect until the spf13/cobra library is updated in the Grafana k6 repository.


Additional context

This change is a prerequisite for the feature request in grafana/k6 to enable the web dashboard by default.

grafana/k6#4903

@szkiba szkiba requested a review from a team as a code owner July 9, 2025 16:17
@szkiba szkiba linked an issue Jul 9, 2025 that may be closed by this pull request
@szkiba szkiba requested review from pablochacin and removed request for a team and pablochacin July 9, 2025 16:17
@szkiba szkiba merged commit 2c99edd into master Jul 9, 2025
31 checks passed
@szkiba szkiba deleted the 217-downgrade-spf13cobra-to-140 branch July 9, 2025 16:30
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.

Downgrade spf13/cobra to 1.4.0
1 participant