# agent: Block agent v2 feature on stable release channel \(\#53849\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2065099bc88dd594d7ed6f382ff162efe53eac17

Requested commit: 2065099bc88dd594d7ed6f382ff162efe53eac17

Commit: 2065099bc88dd594d7ed6f382ff162efe53eac17

Tree: a3077b9f5107dd02d8a3c44618d941094a15045c

Author: Anthony Eid

Committer: GitHub

## Message

```
agent: Block agent v2 feature on stable release channel (#53849)

Based on a partial revert of: 7bcdb12b4c5e9de0e4632c770336799e7c8d13d6

The main difference is instead of a feature flag we now check
`ReleaseChannel::Stable` != current_release_channel when the UI checks
if agent v2 (sidebar) features should be enabled.

Self-Review Checklist:

- [ ] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [ ] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [ ] Performance impact has been considered and is acceptable

Closes #ISSUE

Release Notes:

- N/A or Added/Fixed/Improved ...

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
```

## Parents

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

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