Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 26, 2025

Bumps grafana/xk6 from 1.1.5 to 1.2.3.

Release notes

Sourced from grafana/xk6's releases.

v1.2.3

Grafana xk6 v1.2.3 is here! 🎉

This small patch release focuses on improving the usability and robustness of the xk6 lint command, particularly for automated testing and CI/CD pipelines, and includes several dependency updates.

Changes and Improvements

xk6 lint Enhancements

  • Enhanced Exit Code Handling: The command now provides three distinct exit codes for better CI/CD automation support:
    • 0: All checks passed successfully.
    • 1: Command execution error (invalid arguments, internal failure, etc.).
    • 2: Linting completed but one or more checks failed.
  • Decoupled Linter Checkers: Linter checkers have been refactored to be fully independent of one another. This removes previous hidden dependencies, ensuring that any combination of checkers can be selected and run correctly without assuming a specific execution order or prior state.
  • Corrected Directory Argument Handling: All linter checkers now run correctly when passed a directory argument. This fixes an issue where the build linter specifically failed to function properly if the provided directory path was relative.

Dependency Updates

  • Bumps securego/gosec from 2.22.9 to 2.22.10.
  • Bumps astral-sh/setup-uv from 7.0.0 to 7.1.0.
  • Bumps golang base image from 1.24.8-alpine3.22 to 1.24.9-alpine3.22

v1.2.2

Grafana xk6 v1.2.2 is here! 🎉

This small patch release fixes a critical issue with the exit code of the xk6 lint command. This bug was introduced in v1.2.0.

Bug Fix

  • Corrected xk6 lint Exit Code: The xk6 lint command now correctly returns a non-zero exit code (e.g., 1) when one or more lint checks fail. Previously, the command always returned 0, making it impossible for CI/CD pipelines (like GitHub Actions) to correctly detect linting failures and fail the build.

v1.2.1

Grafana xk6 v1.2.1 is here! 🎉

This is a patch release focusing on several minor fixes and improvements to the xk6 lint command and internal tooling for a smoother development experience.

Fixes & Improvements

  • Consistent Environment Variable Handling: xk6 lint now correctly treats empty environment variables (export K6_VAR="") as if they were unset or non-existent. This ensures that environment variable logic is consistent with how CLI flags are handled, preventing unexpected overrides of default values.

  • Tooling Clarity: The internal code generation utility, tools/presetter, has been renamed to the more accurate and generic tools/codegen. This resolves confusion, as the tool generates Go source code and documentation for checks and presets, not just presets.

  • Smarter Validation Workflow: The versions checker has been disabled within the xk6 lint run in the shared extension-validate workflow. Since this workflow typically runs on Pull Requests (before a release is created), checking for final version tags was causing unnecessary failures.

v1.2.0

Grafana xk6 v1.2.0 is here! 🎉

This release introduces a major enhancement to the xk6 lint command with check presets, making it easier to validate k6 extensions for different use cases and environments. The linting system has been significantly improved with better documentation, flexible configuration options, and streamlined compliance workflows.

BREAKING CHANGES

... (truncated)

Commits
  • 0099162 v1.2.3 release notes (#315)
  • 36b9bae Improve xk6 lint JSON output handling for CI/Automation (#313)
  • 12f3571 Decouple xk6 lint checkers to ensure independence (#311)
  • f0c36b6 xk6 lint directory argument converted to an absolute path (#309)
  • e41d116 build(deps): bump securego/gosec from 2.22.9 to 2.22.10 (#307)
  • 4d8ce73 build(deps): bump astral-sh/setup-uv from 7.0.0 to 7.1.0 (#306)
  • 35399af Merge pull request #304 from grafana/303-bug-xk6-lint-exit-code-is-always-0-o...
  • ca716bc fix: correct exit code for xk6 lint command
  • de1433d Merge pull request #293 from grafana/dependabot/github_actions/softprops/acti...
  • d4ecfc3 Merge pull request #292 from grafana/dependabot/github_actions/astral-sh/setu...
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [grafana/xk6](https://github.com/grafana/xk6) from 1.1.5 to 1.2.3.
- [Release notes](https://github.com/grafana/xk6/releases)
- [Changelog](https://github.com/grafana/xk6/blob/master/.goreleaser.yaml)
- [Commits](grafana/xk6@v1.1.5...v1.2.3)

---
updated-dependencies:
- dependency-name: grafana/xk6
  dependency-version: 1.2.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Oct 26, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 26, 2025 10:03
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 26, 2025
@dependabot dependabot bot requested a review from szkiba October 26, 2025 10:03
@dependabot dependabot bot added the github_actions Pull requests that update GitHub Actions code label Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants