Skip to content

API Cleanup initial pass(merge sqush jugonzales/agents-optimization-v2preview) #47510

API Cleanup initial pass(merge sqush jugonzales/agents-optimization-v2preview)

API Cleanup initial pass(merge sqush jugonzales/agents-optimization-v2preview) #47510

Triggered via pull request June 12, 2026 19:42
Status Failure
Total duration 3m 0s
Artifacts 1

breaking-change-code.yaml

on: pull_request
Swagger BreakingChange - Analyze Code
2m 49s
Swagger BreakingChange - Analyze Code
Fit to window
Zoom out
Zoom in

Annotations

3 errors
Swagger BreakingChange - Analyze Code
Process completed with exit code 1.
Swagger BreakingChange - Analyze Code
appendOadRuntimeErrors: {"type":"Raw","level":"Error","message":"Runtime Exception","time":"2026-06-12T19:45:04.870Z","groupName":"stable","extra":{"new":"https://github.com/YoYoJa/azure-rest-api-specs/blob/3179780e2ea753a96872c051d08ed3acc451c013/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json","old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json","details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 500 lines of stack trace follow, indexed. First line should contain AutoRest command line invocation details. Remaining lines should contain the main message reported by AutoRest.<br/>====================<br/>1: Command failed: node /home/runner/work/azure-rest-api-specs/azure-rest-api-specs/node_modules/autorest/dist/app.js --input-file=/home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json --v2 --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp/oad-ziTQ1e<br/>2: ⚠️ AutoRest is deprecated and will be retired on July 1, 2026. Please migrate to TypeSpec: https://typespec.io — details: https://github.com/Azure/autorest/issues/5175<br/>3: FATAL: swagger-document/loader - FAILED<br/>4: FATAL: Error: File 'file:///home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')<br/>5: Error: File 'file:///home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/ai-foundry/data-plane/Foundry/openapi3/virtual-public-preview/microsoft-foundry-openapi3.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')"}}
Swagger BreakingChange - Analyze Code
appendOadRuntimeErrors: {"type":"Raw","level":"Error","message":"Runtime Exception","time":"2026-06-12T19:45:02.664Z","groupName":"stable","extra":{"new":"https://github.com/YoYoJa/azure-rest-api-specs/blob/3179780e2ea753a96872c051d08ed3acc451c013/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json","old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json","details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 500 lines of stack trace follow, indexed. First line should contain AutoRest command line invocation details. Remaining lines should contain the main message reported by AutoRest.<br/>====================<br/>1: Command failed: node /home/runner/work/azure-rest-api-specs/azure-rest-api-specs/node_modules/autorest/dist/app.js --input-file=/home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json --v2 --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp/oad-eR5NU8<br/>2: ⚠️ AutoRest is deprecated and will be retired on July 1, 2026. Please migrate to TypeSpec: https://typespec.io — details: https://github.com/Azure/autorest/issues/5175<br/>3: FATAL: swagger-document/loader - FAILED<br/>4: FATAL: Error: File 'file:///home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')<br/>5: Error: File 'file:///home/runner/work/azure-rest-api-specs/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/ai-foundry/data-plane/Foundry/openapi3/v1/microsoft-foundry-openapi3.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')"}}

Artifacts

Produced during runtime
Name Size Digest
job-summary
1.1 KB
sha256:c23ccfe71cc3321a7f84b593e170435d3da60774518cafcf8f9ee31a816963b5