Skip to content
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

k6 version reported for pre-release versions is not consistent #48

Open
pablochacin opened this issue Oct 23, 2024 · 0 comments
Open

k6 version reported for pre-release versions is not consistent #48

pablochacin opened this issue Oct 23, 2024 · 0 comments

Comments

@pablochacin
Copy link
Collaborator

When a client request a binary, k6build returns the version of the dependencies in the artifact's metadata. These versions are determined when resolving the dependencies and are not saved along the artifact in the cache.

After the changes introduced in #47 the k6 version reported for a pre-release version are inconsistent across multiple request for building a binary.

The first time, when the artifact is created it is reported using a full semantic version

id: d49dada22dc962cf43096091432f5ba3bcd345f4
platform: linux/amd64
k6:"v0.54.1-0.20241022073258-09a768494cd0"
checksum: 4c9ec82dab0d97aa5185aaf580dfffba7a0e066001a084e54bc732fddb5e7027
url: http://localhost:9000/cache/d49dada22dc962cf43096091432f5ba3bcd345f4/download

In subsequent requests, when the pre-build artifact is returned only the hash is reported:

id: d49dada22dc962cf43096091432f5ba3bcd345f4
platform: linux/amd64
k6:"09a768494cd04a7efbf741169433b42d67593afd"
checksum: 4c9ec82dab0d97aa5185aaf580dfffba7a0e066001a084e54bc732fddb5e7027
url: http://localhost:9000/cache/d49dada22dc962cf43096091432f5ba3bcd345f4/download
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

No branches or pull requests

1 participant