-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Breaking Changes PR check not flagging type change as breaking #3893
Comments
@akning-ms Please give this top priority as it is allowing breaking changes to evade review and impact customers. |
@jianyexi to triage the issue |
I think it's because we flagged this rule as waring temporary. The background is that |
Can we special-case adding |
|
Are you suggesting that autorest does something different when a schema has |
yes, actually it's motivation that autorest want to add the linting rule , after adding 'type:object' , the model would be a object, but if without 'type:object' it would be an any type |
@jianyexi But I really don't think the code generated by autorest changes when I just tested this with the appconfiguration service in the dotnet mgmt SDK (link to test branch). In my test, I removed
but there was no change to the actual generated code (see the branch I pushed here). Is there some other language or perhaps dotnet dataplane that does generate different code based on whether |
I think it has no change today is because of below flag in the M4 ,https://github.com/Azure/autorest/tree/main/packages/extensions/modelerfour |
Perfect. So please treat this as a special case -- adding |
The Breaking Changes PR check in the azure-rest-api-specs repo is failing to flag a type change as breaking and requiring a Breaking Change review.
REST API PR: Azure/azure-rest-api-specs#19468
The Breaking Changes-Cross Version PR check issued these two warnings for change of type:
Here is one of the changes:
Azure/azure-rest-api-specs@ed2c211
According to the Azure Versioning and Breaking Change Policy, Table 3 (Changes requiring a review with Azure’s breaking Change Review Board), this should be reported as an error and require review/approval by the Azure Breaking Changes review board before the PR can be merged.
cc: @JeffreyRichter @srmantha
The text was updated successfully, but these errors were encountered: