Model registry alert shows final alert when some uploads are running

Buggy behavior

When you start uploading a file to model registry, final alert is shown with "Artifact uploads completed with errors." when some uploads are still running

image

Steps

  1. Go to any project
  2. Go to Deploy/Model registry
  3. Create a model FooGPT1 and a version 1.0.0 for example without uploading a file first
  4. When you start uploading you see the buggy behavior above.

Expected behavior

When some uploads are going on, do not show the final alert.