Skip to content

AdminHandler's DescribeWorkflowExecution endpoint panics when using grpc transport #7660

@Shaddoll

Description

@Shaddoll

Description

AdminHandler's DescribeWorkflowExecution endpoint panics when using grpc transport.

Steps to Reproduce / How to Trigger

Use Cadence CLI to describe a workflow that doesn't exist.
e.g. cadence --do cadence-system adm wf desc --wid aaaa

Expected Behavior

The CLI should print EntityNotExistsError

Actual Behavior

The CLI prints a message including "panics: strconv.Atoi ..."

Logs / Screenshots

Error: Get workflow mutableState failed: code:unknown message:panic: strconv.Atoi: parsing "": invalid syntax

Environment

  • Cadence server version: latest version (master branch)
  • Cadence SDK language and version (if applicable): N/A
  • Cadence web version (if applicable): N/A
  • DB & version: Cassandra
  • Scale: N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueUp for grab as first issue to contribute to Cadence projectup-for-grabsIssues that are good entry points for those new to Cadence that want to contribute

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions