docker-tools icon indicating copy to clipboard operation
docker-tools copied to clipboard

GenerateEolAnnotationDataCommand is slow

Open lbussell opened this issue 3 months ago • 1 comments

Generating EOL annotation data for images is slow. Currently the command takes in a list of image digests, and then for each digest:

  • Uses the oras CLI to check if the image already has a lifecycle annotation.
  • Uses the oras CLI to add the lifecycle annotation if the image doesn't already have one.

Even though this operation is parallelized (with Parallel.ForEach), it's really slow for large quantities of images. This makes our publish jobs and ACR cleanup pipelines take a long time.

Related:

  • https://github.com/dotnet/docker-tools/issues/1827

lbussell avatar Sep 30 '25 18:09 lbussell