Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
111 stars 176 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 2 months ago

mikekistler commented 2 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 2 days ago

Another instance:

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