Skip to content

propolis-cli may have a cancel-unsafe tokio::select! #434

@jgallagher

Description

@jgallagher

This is a small followup from oxidecomputer/omicron#3356. I think InstanceSerialConsoleHelper::recv() is not cancel safe: it could pull a value from its ws_stream; if it is then cancelled at a later .await point, that value will be lost. This method is used in a select! arm in propolis-cli, and could trigger cancel-unsafety issues there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions