[Breaking Change][PR Workflow] azure-rest-api-specs PR checks should block merge of preview and stable with same version date
- Dominant language
- C#
- Stars
- 135
- Forks
- 260
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 115
Description
The [Azure Versioning and Breaking Changes Policy](http://aka.ms/AzBreakingChangesPolicy) requires that the version-date of a preview version be later than the most recent stable version. However, this rule does not appear to be enforced by our current PR pipeline checks, since just two months ago Cosmos DB released a stable and preview version with the same date -- 2023-09-15 and 2023-09-15-preview.
The stable 2023-09-15 version was added in [PR 25266](https://github.com/Azure/azure-rest-api-specs/pull/25266) which merged to main on Sept 22.
The preview 2023-09-15-preview version was added in [PR 25326](https://github.com/Azure/azure-rest-api-specs/pull/25326) which merged to main on Sept 20.
Since the preview merged before the stable version, the stable version merge should have been blocked as violating the Azure Versioning policy.
Contributor guide
Assessment
This issue has not been assessed yet.