LimeChain / matchstick

🔥 Unit testing framework for Subgraph development on The Graph protocol. ⚙️
MIT License
207 stars 17 forks source link

Matchstick attempts to download "undefined" version #379

Closed FlacoJones closed 1 year ago

FlacoJones commented 1 year ago

Matchstick version: "matchstick-as": "^0.5.4"

After running yarn test, matchstick attempts to download a binary with undefined in the path

https://github.com/LimeChain/matchstick/releases/download/undefined/binary-macos-11 returns a 404

it should be https://github.com/LimeChain/matchstick/releases/download/0.5.4/binary-macos-11

(base) ~/OpenQ-Fullstack/OpenQ-Graph > yarn test
yarn run v1.22.17
warning ../../package.json: No license field
$ graph test
Fetching latest version tag
Downloading release from https://github.com/LimeChain/matchstick/releases/download/undefined/binary-macos-11
Error fetching release: Request failed with status code 404
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
dimitrovmaksim commented 1 year ago

This sometimes happen due github api issues. Try again with yarn test -f once to force a redownload

FlacoJones commented 1 year ago

it suddenly started downloading again, non-deterministic bug. thanks!

dimitrovmaksim commented 1 year ago

Graph cli caches the request for the latest version for 24 hours, you can force it with the -f flag if this happens again