Skip to content

cartesi --version should expose relevant internal components versions used #253

@endersonmaia

Description

@endersonmaia

📚 Context

When trying to understand problems that happens to the stack that cartesi cli uses underneath, we need to know which versions of those components are being used so that we can investigate it further.

Looking at the logs is not always easy, since it can be too noisy.

When using cartesi --version, we only get the information about the cli itself.

✔️ Solution

The cartesi --version command could shgow us the versions for internal compnents used:

  • cartesi-rollups-node
  • cartesi-graphql
  • cartesi-espresso-reader
  • cartesi-machine-emulator
  • cartesi-guest-tools
  • ...

Also, some commands can use local binaries or container images, that should also be informed.

📈 Subtasks

  • Decide if this could be a doctor output, a new version command or reuse --version argument.
  • Decide which components deserves do have version information exposed
  • Expose chosen components versions on the ouput of the chosen command|argument

🎯 Definition of Done

  • The version command exposed all relevant internal components versions used

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions