Skip to content

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

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

Open
pablochacin opened this issue Apr 23, 2025 · 0 comments
Open

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

pablochacin opened this issue Apr 23, 2025 · 0 comments
Labels

Comments

@pablochacin
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants