Azure / Azure/azure-rest-api-specs
LintDiff: Move correlation logic into reconciliation
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 6k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 444
Description
We're already incorporating data about both "before" and "after" states in the reconciliation code. Use a structure that builds out a set of expected results and then fill that structure with the results as they come in. For each "after" readme/tag match it to a "before" readme/tag. (As it is today) each autorest command for a given readme/tag combination should only be run once.
Contributor guide
Research direction
Start by locating LintDiff's current reconciliation and correlation implementation, then trace how before and after README/tag results are collected and how autorest commands are deduplicated. Refactor toward an expected-results structure that matches each after README/tag with its before counterpart while preserving one command run per combination; done means reconciliation produces the same intended results without duplicate runs.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100