chore(deps): update dependency grafana/xk6 to v1.4.1#91
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency grafana/xk6 to v1.4.1#91renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
a72312b to
d848505
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.7→1.4.1Release Notes
grafana/xk6 (grafana/xk6)
v1.4.1Compare Source
Grafana xk6
v1.4.1is here! 🎉This release focuses on bug fixes and maintenance updates, particularly for k6 v2 compatibility and extension validation workflows.
Bug fixes
lintbuild check to resolve the correct k6 version for local extensions, soxk6 lintworks properly with extensions using k6 v2.securityjob dependency from thelintandsmokejobs in the extension validation workflow, so those checks still run even if the security job fails.Dependency updates
github.com/masterminds/semver/v3tov3.5.0(#495)github.com/mattn/go-isattytov0.0.22(#493)gosectov2.26.1in CI workflows and the devcontainer (#494, #492)v1.4.0Compare Source
Grafana xk6
v1.4.0is 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/k6togo.k6.io/k6/v2, anyxk6 buildwithout--k6-repowould fail with: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:go.modis 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.v2.0.0): the module path is inferred directly from the major version — no network calls..info→.mod) resolves the canonical version and reads the authoritative module declaration.Pass
--verbose/-vto 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_REPOpoints to a custom fork. xk6 probes the Go proxy to detect the correct versioned module path and appends the/vNsuffix automatically — both therequiredirective and thereplacepath are set consistently. An explicit/vNsuffix in the repo value is trusted as-is, skipping any proxy calls.Bug fixes
buildcommand on Windows (#474): fixes a crash where the spawnedgosubprocess usedC:\Windowsas its temp directory (a write-protected location) because xk6 was launching the subprocess with a scrubbed environment. Resolves #473.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
k6foundrytov0.5.2(#475)github.com/fatih/colortov1.19.0(#472)github.com/mattn/go-isattytov0.0.21(#470)github.com/go-git/go-git/v5tov5.18.0(#468)Other changes
@grafana/k6-core(#481)Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.