You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Presently, the binary provisioning is integrated as an alternative execution path at the beginning of the main function, before the k6 root command is executed.
This approach has the advantage of allowing an early point to decide whether to follow one path or another, and also makes the integration "simpler" because it does not interfere with the existing k6 logic.
However, it has the disadvantage that it does not profit from logic already existing in the root command, such as proper parsing of CLI arguments, which creates some corner cases in the execution (documented in #4694)
We should explore how to integrate the binary provisioning logic into the root process to make it more organic.