Skip to content

fix(issues): bug form requests an unsupported version command #1635

Closed

Description

@coygeek

Summary

The Bug issue form labels its required version field bend --version, but that command fails on both tested builds. The supported bend version command prints the requested version. This is a wording defect in the reporting form.

Steps to reproduce

  1. Open the Bug issue form for this repository and inspect the required version field.
  2. Run the command shown by its label using either tested build from Runtime or environment.
bend --version
  1. As a control, run the version command listed by bend --help.
bend version

No .bend input file is needed.

Expected behavior

The required version field should direct reporters to a command that prints the version on the current release.

Actual behavior

The form label says bend --version. On both tested builds, that command exits 1 and prints this to stderr:

bend: unknown option --version (see bend --help)

On both builds, the control command exits 0 and prints:

bend 2.0.37

Evidence

  • Expected source: The CLI's own bend --help output lists bend version as the command to print the version; the command was executed successfully on both tested builds.
  • Failure source: The required version field in .github/ISSUE_TEMPLATE/bug.yml instructs bend --version, which produced the observed rejection above.
  • Evidence provenance: observed
  • Local verification: reproduced
  • Reproduction completeness: complete

Restoration check

Follow the version field's command on the current release and confirm it exits successfully and prints the installed Bend version. The label should agree with that working command. Keep the version field required so the reporting workflow still collects its intended information.

Runtime or environment

  • Latest published release tested: Bend 2.0.37, tag v2.0.37, revision 4ff8545f19b09b7d2b8ca2303668100eac8efd66, using the official Darwin ARM64 release executable in an isolated installation.
  • Current default branch tested: main, at the revision pinned in the form source link above, invoked through bun bend2/main.ts in a fresh checkout.
  • uname -sm: Darwin arm64.
  • Source execution runtime: Bun 1.4.3.
  • Native compilation was not involved.

Triage assessment

  • Impact level: P3
  • Assessment status: supported
  • Impact basis: The observed failure is a wrong command in the issue form's field label; it adds a failed command while gathering version information without changing program behavior.
  • Workaround status: available
  • Workaround basis: bend version printed the version with exit status 0 on both builds, and bend --help lists that command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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