# project: Remove stale registry agent archive caches \(\#55290\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/2bd7f35157bb07dff36c27ac9f6188c476f3cf65)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 2bd7f35157bb07dff36c27ac9f6188c476f3cf65

Requested commit: 2bd7f35157bb07dff36c27ac9f6188c476f3cf65

Commit: 2bd7f35157bb07dff36c27ac9f6188c476f3cf65

Tree: c4e8a3c22af6b4100268dc5792c5108aba2aacea

Author: Xiaobo Liu

Committer: GitHub

## Message

```
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>
```

## Parents

- [53c910982cafd492bedeb58b1c8185328cd5737b](https://git.cafe/gitcafe/zed/commit/53c910982cafd492bedeb58b1c8185328cd5737b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/2bd7f35157bb07dff36c27ac9f6188c476f3cf65?format=markdown)
