Azure / Azure/azure-rest-api-specs
Optimize TypeSpec Validation CI runtime in the spec repo
- Dominant language
- TypeSpec
- Stars
- 3.1k
- Forks
- 5.9k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 424
Description
## Description:
The **TypeSpec Validation CI** in the spec repo is taking too long to complete. In many cases, the run time is around an hour or even longer, which significantly slows down development and validation workflows.
Example link: https://github.com/Azure/azure-rest-api-specs/actions/runs/28857085073/job/85586200452?pr=44494
## Expected behavior:
TypeSpec Validation CI should finish in a reasonable amount of time, ideally much faster than the current runtime.
## Actual behavior:
The CI often takes one hour or more to complete.
## Impact:
- Slower feedback loop for spec changes
- Reduced development efficiency
- Longer wait time for validation results
@mikeharder, @qiaozha for notification.
Contributor guide
Research direction
Start by inspecting the TypeSpec Validation CI and the linked GitHub Actions run to identify which jobs or steps account for the long runtime. Done means the validation workflow completes substantially faster while preserving its validation coverage; the issue does not name specific workflow files or tests to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions
- Domain
- ci-cd, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100