# edit_prediction: Remove diagnostic-triggered jumps \(\#59724\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 131ff63ce5c18b279dee698613bc99461909baad

Requested commit: 131ff63ce5c18b279dee698613bc99461909baad

Commit: 131ff63ce5c18b279dee698613bc99461909baad

Tree: 384283e67e803cee3c6c958cf7859f2444834fc8

Author: Ben Kunkle

Committer: GitHub

## Message

```
edit_prediction: Remove diagnostic-triggered jumps (#59724)

# Objective

- Simplify edit prediction jumps enough to re-enable the staff flag.
- Defer diagnostic-triggered jump refreshes until we know we need them.

## Solution

- Remove the diagnostic refresh trigger path and its supporting state.
- Keep jumps driven by ordinary prediction requests only.

## Testing

- Not run.

## Self-Review Checklist:

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

---

Release Notes:

- N/A
```

## Parents

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

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