Plan on Improving AKS TypeSpec definitions#40127
Conversation
Next Steps to MergeNext steps that must be taken to merge this PR:
Comment generated by summarize-checks workflow run. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews
|
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
| 3. **Use @clientName** decorator to maintain wire format while fixing SDK names | ||
|
|
||
| **Recommended Approach:** | ||
| Use `@clientName` decorator to maintain backward compatibility: |
There was a problem hiding this comment.
Isn't this still breaking for the SDKs? Do the SDKs care - I would imagine they do?
Want to confirm the SDKs are OK with breaking changes before we do this?
There was a problem hiding this comment.
If we want to address this issue, the main concern may not be from the SDK side, since the change would result in a breaking change at the API specification level, which we likely want to avoid. Therefore, the revised proposal is to provide clear justifications for the violations in order to resolve the FIXMEs.
There was a problem hiding this comment.
I think just using clientName is not breaking at the API specification level, right?
It could just be breaking at the SDK level.
There was a problem hiding this comment.
Yes, the clientname option only affects how the SDK generator works. The tests done during this conversion used the old generator, which relied on Swagger as input. Before June, we should also verify if the SDK generated directly from TypeSpec still meets our requirements. If any issues come up, we can use clientname to address them.
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
...ication/containerservice/resource-manager/Microsoft.ContainerService/aks/IMPROVEMENT_PLAN.md
Outdated
Show resolved
Hide resolved
5eee737 to
d6db472
Compare
ARM (Control Plane) API Specification Update Pull Request
Tip
Overwhelmed by all this guidance? See the
Getting helpsection at the bottom of this PR description.PR review workflow diagram
Please understand this diagram before proceeding. It explains how to get your PR approved & merged.
Purpose of this PR
What's the purpose of this PR? Check the specific option that applies. This is mandatory!
Due diligence checklist
To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:
ARM resource provider contract and
REST guidelines (estimated time: 4 hours).
I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.
Additional information
Viewing API changes
For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the
Generated ApiViewcomment added to this PR. You can use ApiView to show API versions diff.Suppressing failures
If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.
Getting help
Purpose of this PRandDue diligence checklist.write accessper aka.ms/azsdk/access#request-access-to-rest-api-or-sdk-repositoriesNext Steps to Mergecomment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.and https://aka.ms/ci-fix.
queuedstate, please add a comment with contents/azp run.This should result in a new comment denoting a
PR validation pipelinehas started and the checks should be updated after few minutes.