Skip to content

Include extension versions in --version output #1007

@chaptersix

Description

@chaptersix

When extensions are installed, temporal --version only shows the CLI, Server, and UI versions. It would be useful to also list discovered extensions and their versions, similar to how temporal help --all discovers extensions in PATH.

Current behavior:

temporal: 1.6.2 (Server 1.26.2, UI 2.36.2)

Proposed behavior:

temporal: 1.6.2 (Server 1.26.2, UI 2.36.2)

Extensions:
  temporal-foo: 0.1.0
  temporal-workflow-diagram: 1.2.3

This would require a convention for extensions to report their version (e.g. temporal-foo --version or temporal-foo version).

Open questions:

  • What convention should extensions use to report their version? (--version, version subcommand, or something else?)
  • Should this be opt-in (e.g. --version --all mirroring help --all)?
  • How to handle extensions that don't support version reporting?

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