Skip to content

[FEATURE] Clarify walkback logic for components #4485

@cujomalainey

Description

@cujomalainey

Currently on failure many functions (e.g. volume prepare) exit and update their state but do not call the respective handler to properly transition to that state. Others clear local state but don't update their component state (smart amp prepare). Some just return an error (kpb prepare).

We need to standardize the error logic expectations from the for components. Will the pipeline call the respective exit handler automatically on error or will the component be expected to handle this itself? Should we even call the handler on error? How will this work in cases such as mixers? This will make reviewing expectations easier and prevent possible mismatches of behaviours on exit in the field.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions