You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] policy and policy fragment dependency and api specification issues #825
There are two bugs found when testing v7.0.0-beta.1.0.0:
When publishing policies and policy fragments, the publisher will fail to publish the policy because it has include-fragment dependencies to the policy fragments, the ordering seems to be an issue here when in reality it should have created all the dependent policy fragments before creating the policy
When publishing an api with a working specification.yaml, the publisher succeeds but does not actually deploy the operations, resulting in no operations when viewing the api in the azure portal. This is verified working for v6.0.2
Expected behavior
When publishing policies and policy fragments, the publisher should succeed and take into the account of the ordering and dependency of policy fragments and policies
When publishing an api with a working specification.yaml, the publisher should succeed and deploy the operations, the results should show a list of operations when viewing the api in the azure portal
Actual behavior
When publishing policies and policy fragments, the publisher will fail to publish the policy because it has include-fragment dependencies to the policy fragments, the ordering seems to be an issue here when in reality it should have created all the dependent policy fragments before creating the policy
When publishing an api with a working specification.yaml, the publisher succeeds but does not actually deploy the operations, resulting in no operations when viewing the api in the azure portal. This is verified working for v6.0.2
Reproduction Steps
When publishing policies and policy fragments, the publisher will fail to publish the policy because it has include-fragment dependencies to the policy fragments, the ordering seems to be an issue here when in reality it should have created all the dependent policy fragments before creating the policy
When publishing an api with a working specification.yaml, the publisher succeeds but does not actually deploy the operations, resulting in no operations when viewing the api in the azure portal. This is verified working for v6.0.2
Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.
Activity
github-actions commentedon Feb 4, 2026
guythetechie commentedon Feb 11, 2026
Shaun Alexander (@shaunaa126) - thanks for reporting this.
Add policy to policy fragment relationship (#825)