Azure / azure-sdk-tools

Tools repository leveraged by the Azure SDK team.
MIT License
110 stars 172 forks source link

[Breaking Change] Runtime exceptions aggregate #6169

Open konrad-jamrozik opened 1 year ago

konrad-jamrozik commented 1 year ago

Note: the list below is competing for priority with

This is an aggregate issue for Breaking Change runtime exceptions:

And from the old, pre-transfer backlog:

Related issue:

Errors reported after 9/11

I.e. after the runtime exception fix got merged and deployed.

References

For more, see comments below.

Konrad's private OneNote page for this issue is #6169 [Breaking Change] Runtime exceptions aggregate

konrad-jamrozik commented 1 year ago

Another case:

konrad-jamrozik commented 1 year ago

Another runtime failure seen here:

Albeit this time the tool did generate some results:

image

konrad-jamrozik commented 1 year ago

Another occurrence, by Jessica Li on 6/29/2023:

konrad-jamrozik commented 1 year ago

Info from Ray about known limitation in this Teams discussion:

There's a known limitation in the pipeline to remove the label when the new commit was pushed to the PR to remove the breaking change.

konrad-jamrozik commented 1 year ago

Another case:

konrad-jamrozik commented 1 year ago

Another case:

Some clues from the error log:

ERROR: Schema violation: Missing required property: name\n - file:///mnt/vss/work/1/azure-rest-api-specs/specification/cognitiveservices/data-plane/Language/stable/2022-05-01/analyzeconversations.json:2077:10 ($.definitions.apimkey.properties.name[\"x-ms-enum\"])\nFATAL: swagger-document/individual/schema-validator - FAILED\nFATAL: Error: [OperationAbortedException] Error occurred. Exiting.\nProcess() cancelled due to exception : [OperationAbortedException] Error occurred. Exiting.\n"

konrad-jamrozik commented 1 year ago

Another case:

konrad-jamrozik commented 1 year ago

Another case:

The tool detected the breaking change, but then failed with runtime error, so it never produced the signal required for automation to add necessary labels.

konrad-jamrozik commented 1 year ago

Another case:

konrad-jamrozik commented 1 year ago

Another one:

This case denotes the runtime exception may possibly be caused by the tool trying to compare to a non-existent file.

konrad-jamrozik commented 1 year ago
konrad-jamrozik commented 11 months ago

I did analysis and bucketing of some of the runtime errors. See here:

konrad-jamrozik commented 11 months ago

So far big chunk of this work was addressed by:

konrad-jamrozik commented 10 months ago

Closing for now. May revisit with future work later. For now we identified more urgent work.

konrad-jamrozik commented 6 months ago

Reopening for Dilithium