# acp: Notify of latest agent version only after successful download \(\#39201\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 35749e99e5eff906bfb38182c1bb6b74d61e85db

Requested commit: 35749e99e5eff906bfb38182c1bb6b74d61e85db

Commit: 35749e99e5eff906bfb38182c1bb6b74d61e85db

Tree: bdbcebe9b5428512fc63d2eb01be814fc3cfef9b

Author: Ben Brandt

Committer: GitHub

## Message

```
acp: Notify of latest agent version only after successful download (#39201)

Before we would notify the user even if the download failed. We also
we're overwriting the directory, which means a user could be stuck in a
loop if a previous download failed

Release Notes:

- acp: Fix user seeing update prompt in a loop because of a previous
failed download
```

## Parents

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

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