dotnet / docker-tools

This is a repo to house some common tools for our various docker repos.
MIT License
122 stars 46 forks source link

Handle unknown state for MAR ingestion #1394

Closed mthalman closed 1 month ago

mthalman commented 1 month ago

While running a build that executed the MAR ingestion reporting logic, I encountered a scenario where a status had a value of Unknown that was not handled. It caused a NotSupportedException to be thrown by the code. Upon examining the digest that was being reported on, it eventually did have a Succeeded state.

This updates the code to handle the Unknown state just like it would other "pending" states.

dotnet-issue-labeler[bot] commented 1 month ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.

dotnet-issue-labeler[bot] commented 1 month ago

I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.