Problem
When apiops publish fails mid-execution, it can leave the Azure API Management instance in a partially updated (bad) state. This has been reported by a customer.
Proposed Solution
Add a dry-run step to the publish pipeline scaffolded by apiops init:
- Before the actual publish, run a dry-run validation pass that checks whether all operations would succeed.
- If the dry-run fails, halt the pipeline immediately — do not proceed to the actual publish step.
- This ensures APIM is never left in an inconsistent state due to a failed publish.
Acceptance Criteria
Problem
When
apiops publishfails mid-execution, it can leave the Azure API Management instance in a partially updated (bad) state. This has been reported by a customer.Proposed Solution
Add a dry-run step to the publish pipeline scaffolded by
apiops init:Acceptance Criteria
apiops initincludes a dry-run stage/step before the actual publish