-
Notifications
You must be signed in to change notification settings - Fork 177
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
TypeSpec Validation PR pipeline check flags issues unrelated to the current PR #5590
Comments
The issue is function |
I believe fixing this correctly would require parsing the Definitions
Rules
Validation Options
ConclusionsOption 1 is simpler but less granular, and may validate TypeSpec projects that technically didn't change in the PR (but really should be valid anyway). Option 2 is more granular but more complex to implement (since it requires creating a dependency graph of *.tsp files).
|
@mikekistler, @catalinaperalta: Please see my explanation of the options for this issue above. If we want to scope the set of TypeSpec Projects to validate smaller than the "service directory", it will require parsing Examples
CC: @weshaggard |
This issue is fixed with the new version of TypeSpec Validation |
The Cadl Validation PR pipeline check in the azure-rest-api-specs repo is flagging problems that are unrelated to the changes made in the current PR.
An example of this problem is PR #22773, which makes a very small change to the Cadl for Multivariate Anomaly Detector. The Cadl Validation check in this PR reports a number of issues with the Cadl for OpenAI -- a completely different service.
The text was updated successfully, but these errors were encountered: