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

graph test throws "Unsupported platform" on any Linux distro other than Ubuntu #1546

Open
KholdStare opened this issue Dec 13, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@KholdStare
Copy link

Which packages are impacted by your issue?

@graphprotocol/graph-cli

Describe the issue

Running graph test on any distro other than Ubuntu throws:

kholdstare@5ced7da9ec4e:~/workspace/code/blockchain/subgraph$ yarn graph test -l
OS type: Debian GNU/Linux
OS arch: x64
OS release: 11 (bullseye)
OS major version: 11
CPU model: AMD Ryzen 9 3900X 12-Core Processor
/home/kholdstare/workspace/code/node_modules/gluegun/build/index.js:15
    throw up;
    ^

Error: Unsupported platform: Linux x64 11

There should at least be an "escape hatch" where the user either manually specifies which release they want to use, or have a way to point at an existing release with a filepath. Ideally in the long-run, the binary is just statically linked and all of this is moot and it works on any linux distribution.

Reproduction

N/A

Steps to Reproduce the Bug or Issue

Use any Linux Distribution besides Ubuntu

Expected behavior

Be able to run graph test

Screenshots or Videos

No response

Platform

  • OS: Linux Debian 11
  • NodeJS: 18.19
  • @graphprotocol/graph-cli: 0.63.1
  • `@graphprotocol/graph-ts": "0.32.0"

Subgraph Manifest

No response

Subgraph GraphQL Schema

No response

Additional context

No response

@KholdStare KholdStare added the bug Something isn't working label Dec 13, 2023
@saihaj
Copy link
Member

saihaj commented Dec 13, 2023

yeah we are working on improving the support for this #1543

@KholdStare
Copy link
Author

KholdStare commented Jan 30, 2024

@saihaj @dimitrovmaksim How is the migration going? Any updates? Thank you!

This is currently stopping us from using newer matchstick features like assert messages, and dataSourceExists, just because we are using a Debian image.

@dimitrovmaksim
Copy link
Member

Hey, @KholdStare, sorry I'm not working on this, so can't give you any updates. Potentially you can build matchstick from source and run it independently from the graph-cli

@saihaj
Copy link
Member

saihaj commented Feb 2, 2024

@KholdStare it is WIP #1549 had some other pressing issues to fix but do we want to resolve this in coming weeks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants