k6 icon indicating copy to clipboard operation
k6 copied to clipboard

Handle input scripts with extensions other than .tar .js and .ts

Open pablochacin opened this issue 7 months ago • 0 comments

The binary provisioning logic searches the arguments received by k6 for the input script if any. Currently this logic use the extension to identify this argument. However, k6 allows arbitrary extensions in the scripts.

This issue comes from the way the arguments are parsed. The binary provisioning logic is executed before k6 root command is executed and therefore before the CLI arguments have been parsed by cobra.

pablochacin avatar Apr 23 '25 11:04 pablochacin