project: Remove stale registry agent archive caches (#55290)

Registry archive agents install each version into a versioned cache
directory, but older extracted archives were left behind after updates
and
could accumulate disk usage.

After resolving the current archive cache directory, remove other
versioned
cache directories for the same registry agent while preserving the
current
version.

Release Notes:

- Fix certain ACP registry agents not cleaning up old versions

---------

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2bd7f35157Xiaobo Liu committed on 5/17/2026, 8:35:45 PM· committed by GitHubparent53c9109
1 file changedLine totals unavailable