Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
113 stars 177 forks source link

REST API PR pipeline should check that preview API version date is strictly after GA API version date #8630

Open mikekistler opened 3 months ago

mikekistler commented 3 months ago

The Azure versioning policy disallows a preview API version with the same date as a GA API version. Unfortunately, this restriction is not well known in service teams and routinely violated. The latest example is:

https://github.com/Azure/azure-rest-api-specs/pull/29716

The PR pipeline should check for this case and flag it as a versioning error, blocking PR merge until the situation is corrected.

mikekistler commented 1 month ago

Another instance:

https://github.com/Azure/azure-rest-api-specs/pull/29585