Repository navigation
[Swagger Linter Migration] LatestVersionOfCommonTypesMustBeUsed -> arm-common-types-version #5271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Yuchao Yan (msyyc)
wants to merge
34
commits into
Azure:main
Choose a base branch
from
msyyc:promote-latest-version-common-types-to-arm
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
8d2c8c5
Promote latest common types lint rule
msyyc 440a51d
Disable latest common types rule by default
msyyc 841b6f3
Address common types rule review
msyyc d8b8176
Apply TypeSpec rule naming conventions
msyyc 09df69b
Update generated linter docs
msyyc 5abd4bf
Address common types rule review feedback
msyyc f15a77b
Avoid global mutation in common types rule
msyyc 9661c68
Update resource-manager.ts
msyyc ea6fd2e
Update use-latest-version-of-common-types.md
msyyc 2e4edd8
Revise title for common types version rule
msyyc dfba9ba
Merge branch 'main' into promote-latest-version-common-types-to-arm
msyyc 2ad5611
Fix promotion changelog classification
msyyc aeb0eab
Merge main into promote-latest-version-common-types-to-arm
msyyc 3e13a32
Use native ARM common type records in latest-version rule
msyyc 473a14a
Merge branch 'main' into promote-latest-version-common-types-to-arm
msyyc da46ae1
Add common types rule to ARM inventory
msyyc ec664c4
Merge branch 'main' into promote-latest-version-common-types-to-arm
msyyc 7c1764c
Report common type resolution failures through linter context
msyyc 84bfa97
Merge main and preserve both ARM linter additions
msyyc 1722f99
Consolidate latest common-types guidance into existing ARM rule
msyyc fe18bdd
Merge branch 'main' into promote-latest-version-common-types-to-arm
msyyc db29d80
Fix ARM sample CI for latest common-types guidance
msyyc f4fc394
Add v6 common-type fixtures for ARM sample references
msyyc cf74184
Keep common-types release note focused on native behavior
msyyc 225feb8
Merge branch 'main' into promote-latest-version-common-types-to-arm
msyyc e1dc441
test(arm): focus lint coverage on rule-owned behavior
msyyc e65ad34
Merge main and resolve ARM rule inventory conflict
msyyc d22e03b
Remove private common-types fixture and restore merged compiler cohort
msyyc 6bbbaca
Merge main and preserve rule inventory assertions for #5271
msyyc 94ec559
docs(arm): focus common-types version selection guidance
msyyc f1959f4
Merge main and preserve common-types and opt-in rule assertions
msyyc 6f682ca
test(azure-resource-manager): assert common-types diagnostic locations
msyyc b49afec
chore: simplify common-types migration after #5787
msyyc ea7ecc6
Merge branch 'main' into promote-latest-version-common-types-to-arm
msyyc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.chronus/changes/promote-latest-version-common-types-2026-08-20-14-00-00.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| changeKind: feature | ||
| packages: | ||
| - "@azure-tools/typespec-azure-resource-manager" | ||
| --- | ||
|
|
||
| Extend `arm-common-types-version` to warn when an ARM service or API version selects an older common-types version, while preserving the existing warning for missing explicit version configuration. | ||
|
|
||
| Latest-version warnings are now active wherever this existing rule is enabled, including the resource-manager ruleset. Update `@armCommonTypesVersion` to the latest version in `Azure.ResourceManager.CommonTypes.Versions`, or suppress `@azure-tools/typespec-azure-resource-manager/arm-common-types-version` when an older version is required for compatibility. | ||
|
|
||
| The rule checks effective version selections only. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.