# Rename visual_test_runner to zed_visual_test_runner \(\#46171\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 167970bcce0b625f87bb669cd48c5eb3ce4a17ab

Requested commit: 167970bcce0b625f87bb669cd48c5eb3ce4a17ab

Commit: 167970bcce0b625f87bb669cd48c5eb3ce4a17ab

Tree: b3c124b53c536ac88dcd337e013ff3fd59ac89b0

Author: Richard Feldman

Committer: GitHub

## Message

```
Rename visual_test_runner to zed_visual_test_runner (#46171)

This fixes the auto-update failure by ensuring cargo-bundle picks 'zed'
as the first binary.

**Problem:** `cargo metadata` returns binaries alphabetically, so
`visual_test_runner` was coming before `zed`. When cargo-bundle looks
for the first binary to bundle (without `--bin`), it was picking
`visual_test_runner` - which doesn't exist in release builds because it
requires the `visual-tests` feature.

The previous fix (#46163) added `--bin zed` to explicitly select the
binary, but this caused cargo-bundle to use the binary name ('zed')
instead of the bundle metadata name ('Zed Nightly'), breaking
auto-updates.

**Fix:** Rename the binary to `zed_visual_test_runner` so it comes after
`zed` alphabetically. This restores the original bundle script behavior
that has worked for years.

Also reverts the `--bin zed` workaround from #46163.

Release Notes:

- N/A
```

## Parents

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

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