8000 Unify the internal/cmd.Execute methods by codebien · Pull Request #4726 · grafana/k6 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unify the internal/cmd.Execute methods #4726

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 23, 2025
Merged

Conversation

codebien
Copy link
Contributor
@codebien codebien commented Apr 23, 2025

What?

It unifies the Execute methods.

Why?

It simplifies the API, reducing the surface to one single method. It has the benefit to clarify the execution path. This is a blocking work for Binary provisioning, as it is a prerequisite.

Checklist

  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests for my changes.
  • I have run linter and tests locally (make check) and all pass.

Checklist: Documentation (only for k6 maintainers and if relevant)

Please do not merge this PR until the following items are filled out.

  • I have added the correct milestone and labels to the PR.
  • I have updated the release notes: link
  • I have updated or added an issue to the k6-documentation: grafana/k6-docs#NUMBER if applicable
  • I have updated or added an issue to the TypeScript definitions: grafana/k6-DefinitelyTyped#NUMBER if applicable

Related PR(s)/Issue(s)

@codebien codebien added this to the v1.0.0 milestone Apr 23, 2025
@codebien codebien self-assigned this Apr 23, 2025
@codebien codebien marked this pull request as ready for review April 23, 2025 11:02
@codebien codebien requested a review from a team as a code owner April 23, 2025 11:02
@codebien codebien requested review from mstoykov and oleiade and removed request for a team April 23, 2025 11:02
mstoykov
mstoykov previously approved these changes Apr 23, 2025
Co-authored-by: Mihail Stoykov <312246+mstoykov@users.noreply.github.com>
@codebien codebien merged commit 5cfe2d9 into master Apr 23, 2025
28 checks passed
@codebien codebien deleted the refactor/cmd-execute branch April 23, 2025 12:37
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.

3 participants
0