Skip to content

Conversation

@rMaxiQp
Copy link
Contributor

@rMaxiQp rMaxiQp commented Nov 5, 2025

What?

Refactor cmdRun.run() server spawning based on comments in #5227 reviews

Why?

cmdRun.run() involves many updates and has a high LOC. There is a TODO item on refactoring this function, and this PR aims to address this concern.

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)

relate to #5227's comment on moving refactor into a separate PR

@rMaxiQp rMaxiQp marked this pull request as ready for review November 5, 2025 23:58
@rMaxiQp rMaxiQp requested a review from a team as a code owner November 5, 2025 23:58
@rMaxiQp rMaxiQp requested review from AgnesToulet and mstoykov and removed request for a team November 5, 2025 23:58
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.

1 participant