Skip to content

Fix LatestVersionOfCommonTypesMustBeUsed parity - #1

Closed
msyyc wants to merge 4 commits into
feature/lintdiff-spec-dataset-newfrom
feature/lintdiff-migration-new
Closed

Fix LatestVersionOfCommonTypesMustBeUsed parity#1
msyyc wants to merge 4 commits into
feature/lintdiff-spec-dataset-newfrom
feature/lintdiff-migration-new

Conversation

@msyyc

@msyyc msyyc commented Aug 11, 2026

Copy link
Copy Markdown
Owner

Summary

  • detect outdated ARM common-type references reachable from HTTP operation parameters and responses
  • add regression fixtures for legacy LocationParameter and managed identity v4 usage
  • document the latest full-corpus migration evidence
  • add the reusable develop-lintdiff-rule workflow skill

Corpus result

Full analysis at specs commit f6b53f105b95da05276530a0754a1c71b4f16397 compiled 462 of 468 projects.

  • Swagger validator: 388 projects / 40,692 diagnostics
  • TypeSpec rule: 391 projects / 698 diagnostics
  • raw same-project overlap: 384 projects
  • population-aligned result: 384 validator projects, 384 TypeSpec projects, 384 overlap, no unexplained gaps
  • four validator-only projects are stale validator latest-version-map findings
  • seven TypeSpec-only projects are older unprojected API versions

Generated coverage and corpus result files are intentionally excluded from this PR. The latest evidence is preserved in migration.md.

Validation

  • package build
  • targeted harness tests
  • targeted rule lint
  • all six LatestVersionOfCommonTypesMustBeUsed fixtures
  • full specs:typespec corpus run

msyyc added 4 commits August 10, 2026 18:35
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 17d130f6-25f1-4e3a-89bb-ec9ceeaae4ed
@msyyc

msyyc commented Aug 11, 2026

Copy link
Copy Markdown
Owner Author

Closed because this rule PR must use a rule-specific branch in Azure/typespec-azure and target feature/lintdiff-migration-new. Superseded by Azure#5203.

@msyyc msyyc closed this Aug 11, 2026
@msyyc
msyyc deleted the feature/lintdiff-migration-new branch August 11, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant