Skip to content

Why does ADU call Apply on Install step? #751

@AndreRicardo-Zoetis

Description

@AndreRicardo-Zoetis

Why does ADU in the ADUCITF_WorkflowStep_Install call both Install and Apply in the step handler?

https://github.com/Azure/iot-hub-device-update/blob/release/1.2.0/src/extensions/update_manifest_handlers/steps_handler/src/steps_handler.cpp#L1014

In our workflow this means that Apply is called twice.

Specially because Install auto transitions to Apply.
https://github.com/Azure/iot-hub-device-update/blob/release/1.2.0/src/adu_workflow/src/agent_workflow.c#L282

It is also confusing because I cannot see this rational in the documentation under https://github.com/Azure/iot-hub-device-update/blob/1.2.0/docs/agent-reference/goal-state-support.md#state-machine-diagram

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions