Azure / Azure/azure-sdk-tools

LintDiff is apparently hanging and timing out after 1 hour

Open
#7,780 0 comments 0 reactions 1 assignee Claimed by @konrad-jamrozik View on GitHub
Central-EngSys Spec PR Tools
Dominant language
C#
Stars
135
Forks
260
Avg merge
1d 22h
Merged PRs (30d)
115

Description

Log of LintDiff run that got terminated by ADO after 1 hour:

[Source](https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3535809&view=logs&j=0574a2a6-2d0a-5ec6-40e4-4c6e2f70bea2&t=80c3e782-49f0-5d1c-70dd-cbee57bdd0c7&l=66)

```
Executing AutoRest with LintDiff: node /mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.83/private/azure-swagger-validation/azureSwaggerValidation/node_modules/autorest/dist/app.js --v3 --spectral --azure-validator --semantic-validator=false --model-validator=false --message-format=json --openapi-type=arm --openapi-subtype=arm --use=@microsoft.azure/openapi-validator@2.2.0 --tag=package-2024-01-preview /mnt/vss/_work/1/azure-rest-api-specs-pr/specification/network/resource-manager/readme.md
##[error]The Operation will be canceled. The next steps may not contain expected logs.
##[error]The operation was canceled.
Finishing: LintDiff
```

PR:
- https://github.com/Azure/azure-rest-api-specs-pr/pull/17199

- [Teams discussion](https://teams.microsoft.com/l/message/19:4f661242c446452e895359cc3ef45125@thread.tacv2/1709089278617?tenantId=72f988bf-86f1-41af-91ab-2d7cd011db47&groupId=0cab4ce9-7691-42ae-82e3-460d4346a710&parentMessageId=1709089278617&teamName=ARM%20API%20Reviewers&channelName=ARM%20linter%20rules&createdTime=1709089278617)

Note this appears to be separate from:
- https://github.com/Azure/azure-sdk-tools/issues/7457

Because here it just hangs on one AutoRest execution instead of producing massive amount of logs.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.