Skip to content

chore(deps): update dependency grafana/xk6 to v1.4.1#91

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/grafana-xk6-1.x
Open

chore(deps): update dependency grafana/xk6 to v1.4.1#91
renovate[bot] wants to merge 1 commit intomainfrom
renovate/grafana-xk6-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 29, 2026

This PR contains the following updates:

Package Update Change
grafana/xk6 minor 1.3.71.4.1

Release Notes

grafana/xk6 (grafana/xk6)

v1.4.1

Compare Source

Grafana xk6 v1.4.1 is here! 🎉

This release focuses on bug fixes and maintenance updates, particularly for k6 v2 compatibility and extension validation workflows.

Bug fixes

  • xk6 lint build check for k6 v2 extensions (#​491): fixed the lint build check to resolve the correct k6 version for local extensions, so xk6 lint works properly with extensions using k6 v2.
  • Extension validation no longer blocked by security checks (#​490): removed the security job dependency from the lint and smoke jobs in the extension validation workflow, so those checks still run even if the security job fails.

Dependency updates

v1.4.0

Compare Source

Grafana xk6 v1.4.0 is here! 🎉

This release delivers automatic k6 major version resolution, making xk6 builds work seamlessly across k6's major versions without any manual configuration.

Features

Auto-resolve k6 major version module path (#​445)

When k6 moved from go.k6.io/k6 to go.k6.io/k6/v2, any xk6 build without --k6-repo would fail with:

go.mod:5: require go.k6.io/k6: version "v1.7.1-0.20260401084312-d2c34d930734" invalid:
  go.mod has post-v1 module path "go.k6.io/k6/v2" at revision d2c34d930734

xk6 now automatically determines the correct k6 module path (go.k6.io/k6, go.k6.io/k6/v2, etc.) so that builds work across major versions without requiring --k6-repo. The resolution strategy depends on --k6-version:

  • No version (latest): each extension's go.mod is inspected for a k6 dependency. If none is found, the Go proxy is probed across all major-version paths to find the highest published version.
  • Clean semver tag (e.g. v2.0.0): the module path is inferred directly from the major version — no network calls.
  • SHA, branch, or pseudo-version: a two-step proxy lookup (.info.mod) resolves the canonical version and reads the authoritative module declaration.

Pass --verbose / -v to see all proxy requests and resolution decisions in the debug output.

See docs/k6-module-resolution.md for the full algorithm reference.

Auto-resolve major version for custom k6 repo forks (#​477)

The same automatic resolution now applies when --k6-repo / XK6_K6_REPO points to a custom fork. xk6 probes the Go proxy to detect the correct versioned module path and appends the /vN suffix automatically — both the require directive and the replace path are set consistently. An explicit /vN suffix in the repo value is trusted as-is, skipping any proxy calls.

Bug fixes

  • build command on Windows (#​474): fixes a crash where the spawned go subprocess used C:\Windows as its temp directory (a write-protected location) because xk6 was launching the subprocess with a scrubbed environment. Resolves #​473.
  • Escape module paths in Go proxy URLs (#​478): module paths containing uppercase letters (e.g. github.com/MyOrg/k6fork) are now correctly percent-encoded using Go's !-escaping scheme before being embedded in proxy URLs. Previously, uppercase paths silently fell back to defaults, making such custom forks unusable.

Dependency updates

  • Bumped k6foundry to v0.5.2 (#​475)
  • Updated github.com/fatih/color to v1.19.0 (#​472)
  • Updated github.com/mattn/go-isatty to v0.0.21 (#​470)
  • Updated github.com/go-git/go-git/v5 to v5.18.0 (#​468)

Other changes

  • Transferred CODEOWNERS to @grafana/k6-core (#​481)
  • Switched to k6's shared golangci config and lint action (#​443)
  • Various CI and tooling dependency updates

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/grafana-xk6-1.x branch from a72312b to d848505 Compare May 4, 2026 11:40
@renovate renovate Bot changed the title chore(deps): update dependency grafana/xk6 to v1.4.0 chore(deps): update dependency grafana/xk6 to v1.4.1 May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant