Skip to content

[FEATURE] Clarify walkback logic for components #4485

Open

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.

Activity

  1. added
    enhancement
    on Jul 13, 2021
  2. added this to the v1.9 milestone on Jul 14, 2021
  3. modified the milestones: v1.9, v2.6 on Feb 15, 2023
  4. modified the milestones: v2.6, TBD on May 10, 2023
  5. lgirdwood commented on May 10, 2023

    @lgirdwood
    Member

    Pipeline 2.0 update will align new flow and supporting docs on sof-docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions