Repository navigation
SDK Breaking Change Analysis workflow and SDK Breaking Change mitigation workflow - #46158
Crystal YU (chunyu3) wants to merge 224 commits into
Conversation
Breaking change workflow
remove feature to read ado pipeline artifacts
resolve js dependency issue
…into yuc/breaking-change-workflow
…into breaking-change-workflow
Breaking change workflow
…/azure-rest-api-specs into yuc/breaking-change-workflow
Breaking change workflow
resolve run failure
add sdk generation and build
Breaking change workflow
log intermediate result
config azsdk mcp server
resolve the mount point in docker
use azsdk cli to generate, build sdk and detect breaking change
32f4975 to
71cf5e6
Compare
…into yuc/breaking-change-workflow
1d1389d to
2ad2802
Compare
Sameeksha Vaity (samvaity)
left a comment
There was a problem hiding this comment.
This is a reasonable first implementation only as an optional, non-blocking preview and analysis-only first aspect. We can grow this to release automation based on how it does.. And so I think the follow ups that I would be interested in looking at are:
- metrics for runtime, request usage, failure rates, false positives, and successful mitigations
Agreed. I’ll work on benchmarks for the analysis (azsdk_package_detect_breaking_change ) and mitigation (azsdk_customized_code_update) tools, and monitor runtime and related metrics to evaluate their effectiveness. |
…into yuc/breaking-change-workflow
…into yuc/breaking-change-workflow
Fix Azure/azure-sdk-tools#16915
Fix Azure/azure-sdk-tools#16916
SDK Breaking Change Analysis workflow
Example:
SDK Breaking changes for Go
Analyzed commit:
00850ca596599f280dc140fa4cc14dc613e9192bTypespec Project: specification/webpubsub/resource-manager/Microsoft.SignalRService/SignalRService
SDK Package: armwebpubsub
SDK breaking change analysis details
SDK Breaking Change LabelsworkflowSDK Breaking Change Labelsworkflow completed and find out there are SDK breaking change detected for an language, it will comment '/azsdk sdk-breaking-analysis ' to trigger this 'SDK Breaking Change Analysis' workflowSDK Breaking Change Mitigation workflow
Example:
SDK Breaking Change Mitigation for Go
Mitigation upon commit:
00850ca596599f280dc140fa4cc14dc613e9192bTypeSpec project: specification/webpubsub/resource-manager/Microsoft.SignalRService/SignalRService
SDK package: armwebpubsub
Breaking Changes:
View breaking changes
Customization Code:
View customization Code
View customization code in the workflow summary
Next Steps
💡 Apply Mitigation: Apply the customization code to mitigate the breaking changes.
💡 Suppress Breaking Changes: For accepted breaking changes, click the breaking change ID link to view suppression instructions and follow the suppression process.
Integrate into Next Steps to Merge
When SDK breaking-change labels are present, the Next Steps to Merge comment includes
one summary row per affected language.
An authorized SDK reviewer applies the
BreakingChange-<language>-Sdk-Approvedlabel toapprove breaking changes for that language. The language's row is removed from the
Next Steps to Merge summary when it next refreshes.
Example
SDK Breaking Change Detection and Mitigation
💡 Mitigation reports contain proposed changes; they do not mean those changes have been applied or validated.
💡 When suppressing breaking changes, ensure to use the original breaking changes.
Comment generated by summarize-checks workflow run.