Problem: Syncing container repositories with specific tag references (sha256 digests)
from deep repositories (50,000+ tags) requires paginating through all tags, taking 3-8 minutes.
Solution: When include_tags contains only non-wildcard references and excludes won't match,
bypass /tags/list entirely and fetch manifests directly. Discover cosign companions via HEAD probing.
Impact: Reduces sync time from 3-8 minutes to ~20 seconds for the reported use case
(OCP repository with 50K+ tags, syncing 189 specific digests).
Problem: Syncing container repositories with specific tag references (sha256 digests)
from deep repositories (50,000+ tags) requires paginating through all tags, taking 3-8 minutes.
Solution: When include_tags contains only non-wildcard references and excludes won't match,
bypass /tags/list entirely and fetch manifests directly. Discover cosign companions via HEAD probing.
Impact: Reduces sync time from 3-8 minutes to ~20 seconds for the reported use case
(OCP repository with 50K+ tags, syncing 189 specific digests).