Skip to content

[ssh] Bad exit status retrieval #4990

Description

@tobe2098

Describe the bug
PlainSSHProcess attempts to retrieve the exit status by registering a callback and polling. The issue is that the callback is only registered for the duration of the call, so it will miss the return code if it does not come in that time window. The callbacks should ideally be registered for the lifetime of the channel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    highHigh priority. Combine with "medium" to signal intermediate medium-high priority.needs triageIssue needs to be triaged

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions