Skip to content

Remove Unretryable Error Logic #7561

@natemort

Description

@natemort

Is your feature request related to a problem? Please describe.
This is specific to the Go client, but posting here to centralize issues more.

If the server returns a NonRetryableError the worker tries to terminate its own process. This is bad.

Proposed Solution
Remove this logic entirely. We should log quite clearly that we're receiving some critical error, but we can just keep trying the poll requests. Invalid requests are not a serious risk to either the server or the client. We should never be terminating the process.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueUp for grab as first issue to contribute to Cadence project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions