-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Rename Language 2023-05-01 to 2023-04-01 #21990
Conversation
Hi, @AhmedLeithy Thanks for your PR. I am workflow bot for review process. Here are some small tips. Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected] |
Swagger Validation Report
|
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
analyzeconversations-authoring.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
analyzeconversations.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
analyzetext-authoring.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
analyzetext.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
common.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
questionanswering-authoring.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
questionanswering.json | 2023-04-01(ebbacbe) | 2023-05-01(main) |
️❌
Breaking Change(Cross-Version): 41 Errors, 38 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] | new version | base version |
---|---|---|
analyzeconversations-authoring.json | 2023-04-01(ebbacbe) | 2022-05-01(main) |
analyzeconversations-authoring.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
analyzeconversations.json | 2023-04-01(ebbacbe) | 2022-05-01(main) |
analyzeconversations.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
analyzetext-authoring.json | 2023-04-01(ebbacbe) | 2022-05-01(main) |
analyzetext-authoring.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
analyzetext.json | 2023-04-01(ebbacbe) | 2022-05-01(main) |
analyzetext.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
common.json | 2023-04-01(ebbacbe) | 2022-05-01(main) |
common.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
questionanswering-authoring.json | 2023-04-01(ebbacbe) | 2021-10-01(main) |
questionanswering-authoring.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
questionanswering.json | 2023-04-01(ebbacbe) | 2021-10-01(main) |
questionanswering.json | 2023-04-01(ebbacbe) | 2022-10-01-preview(main) |
The following breaking changes are detected by comparison with the latest stable version:
Only 30 items are listed, please refer to log for more details.
Rule | Message |
---|---|
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L30:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L79:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/deletion-jobs/{jobId}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L210:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/:export' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L249:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/export/jobs/{jobId}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L303:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/:import' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L345:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/import/jobs/{jobId}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L401:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L443:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}/jobs/{jobId}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L488:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/deployments' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L533:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/synonyms' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L585:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/sources' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L680:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/sources/jobs/{jobId}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L781:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/qnas' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L823:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/qnas/jobs/{jobId}' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L927:5 |
1005 - RemovedPath |
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/feedback' removed or restructured? Old: Language/stable/2021-10-01/questionanswering-authoring.json#L969:5 |
1007 - RemovedClientParameter |
The new version is missing a client parameter that was found in the old version. Was 'ConversationalAnalysisAuthoringFormatQueryParameter' removed or renamed? New: cognitiveservices/data-plane/Language/analyzeconversations-authoring.json#L3831:3 Old: Language/stable/2022-05-01/analyzeconversations-authoring.json#L3012:3 |
1025 - RequiredStatusChange |
The 'required' status changed from the old version('False') to the new version('True'). New: cognitiveservices/data-plane/Language/common.json#L14:7 Old: Language/stable/2021-10-01/common.json#L14:7 |
1025 - RequiredStatusChange |
The 'required' status changed from the old version('False') to the new version('True'). New: cognitiveservices/data-plane/Language/common.json#L14:7 Old: Language/stable/2021-10-01/common.json#L14:7 |
1034 - AddedRequiredProperty |
The new version has new required property 'entities' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'relations' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'id' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'warnings' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'entities, relations, id, warnings' that was not found in the old version. New: cognitiveservices/data-plane/Language/analyzetext.json#L853:11 Old: Language/stable/2022-05-01/analyzetext.json#L779:11 |
1034 - AddedRequiredProperty |
The new version has new required property 'entities' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'id' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'warnings' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'entities, id, warnings' that was not found in the old version. New: cognitiveservices/data-plane/Language/analyzetext.json#L1524:11 Old: Language/stable/2022-05-01/analyzetext.json#L1430:11 |
1034 - AddedRequiredProperty |
The new version has new required property 'entities' that was not found in the old version. |
1034 - AddedRequiredProperty |
The new version has new required property 'id' that was not found in the old version. |
The following breaking changes are detected by comparison with the latest preview version:
Rule | Message |
---|---|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L45:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L94:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/deletion-jobs/{jobId}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L225:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/:export' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L264:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/export/jobs/{jobId}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L318:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/:import' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L360:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/import/jobs/{jobId}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L416:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L458:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}/jobs/{jobId}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L503:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/deployments' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L548:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/synonyms' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L600:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/sources' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L695:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/sources/jobs/{jobId}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L796:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/qnas' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L838:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/qnas/jobs/{jobId}' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L942:5 |
|
The new version is missing a path that was found in the old version. Was path '/query-knowledgebases/projects/{projectName}/feedback' removed or restructured? Old: Language/preview/2022-10-01-preview/questionanswering-authoring.json#L984:5 |
️️✔️
CredScan succeeded [Detail] [Expand]
There is no credential detected.
️🔄
LintDiff inProgress [Detail]
️️✔️
Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️
ApiReadinessCheck succeeded [Detail] [Expand]
️️✔️
~[Staging] ServiceAPIReadinessTest succeeded [Detail] [Expand]
Validation passes for ServiceAPIReadinessTest.
️️✔️
~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
️️✔️
~[Staging] CadlAPIView succeeded [Detail] [Expand]
️️✔️
ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️
SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️
PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️️✔️
PrettierCheck succeeded [Detail] [Expand]
Validation passes for PrettierCheck.
️️✔️
SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️
Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️
CadlValidation succeeded [Detail] [Expand]
Validation passes for CadlValidation.
️️✔️
PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
Swagger pipeline restarted successfully, please wait for status update in this comment. |
Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment. |
Hi @AhmedLeithy, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review. |
Hi @AhmedLeithy, Your PR has some issues. Please fix the CI sequentially by following the order of
|
What is the justification for all the breaking changes shown here: https://github.com/Azure/azure-rest-api-specs/pull/21990/checks?check_run_id=10305263109 |
@JeffreyRichter For context, the changes here are under the |
@JeffreyRichter As Deyaa mentioned, this is only in dev folder which is a WIP API version that is not released yet. Originally, we were planning for release in May 2023, but then decided to make it in April. |
I don't understand. There was a path that shipped in the 2022-05-01 version and this new version is removing that path which is a breaking change. You say this new version is a WIP and not shipping yet - fair enough. But, when it does ship, it will then break customers. So, are we glad we caught this now so we do not break customers later? I'm afraid that if the Breaking Change Board approves this now, then it will eventually ship & break customers and we dont' want to do this. |
@JeffreyRichter can you clarify how does this change remove 2022-05-01? |
If I understand correctly, the change is to move the API version for a not-yet-shipped API version to an earlier value. Technically, we don't have to make the change. The only reason is to move the API version closer to the expected ship date. Our breaking change tools do get royally confused by this, though :). |
When I look at https://github.com/Azure/azure-rest-api-specs/pull/21990/checks?check_run_id=10305263109, see a table at the top with "new version" and "base version". In the table below, I see a "1005 - Removed Path" row saying that the path at https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/Language/stable/2021-10-01/questionanswering-authoring.json#L30:5 no longer exists in the new PR version. It is a breaking change to customer when a path is removed. |
If you check the files changed, they are all in a "dev" folder that is used for under development API versions as per the policy we follow with the SDK crew. |
Azure's definition of a breaking change is any change that requires customers to change their code. While this version has not yet been released to customers, it will then break them when it is ultimately released and therefore should not ever be released. Your team should be glad that these breaks are being detected early so that your customers will not ultimately be upset with the breaks damaging the reputation of your service and azure overall. |
What matters is that there are no breaking changes between GA versions under the specification/ folder. So if you're removing a path - even in the dev/ folder (same would be for a topic branch for specification/) - that was in GA and no longer is, that's a breaking change. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the model validation failure as it's blocking the merge.
No description provided.