-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Display any extensions bundled by xk6 in the pre-execution output #1741
Comments
We might also investigate a way to display the included extensions and their version in the output of |
Hey, can we prioritize this for an upcoming cycle? Support for outputting the included extensions and their version in We should probably define a new |
Yeah, it's probably high time we do this... The |
Feature Description
With the introduction of xk6, it is likely that we'll start to get support questions or bug reports where users are running bespoke versions of k6. From a "k6 core" point of view, the course of action would/should likely be to ask the user to try again with an official build.
That aside, if we ever want to support any extension, or make life easier for extension developers, we need some way to tell by execution logs how to replicate their builds.
Suggested Solution
Add a new row in the pre-execution output of k6 cli. This would only be visible when k6 detects something in the 'k6/x' namespace, and should then list extensions and their versions. Mockup below:
With versions displayed:
Given that we've been discussing other kinds of extensions than js extensions in the future, we might also need some way to detect those. One way of doing this would be to add a tripwire to
modules.Register
instead. Personally, I'd argue that we can leave that as a future improvement and focus on the js case for now.The text was updated successfully, but these errors were encountered: