Show runnable task results in gutter - #61095
Merged
Merged
Conversation
pixel365
force-pushed
the
tests
branch
9 times, most recently
from
July 20, 2026 13:20
8872b5f to
94638cb
Compare
ChristopherBiscardi
approved these changes
Jul 21, 2026
ChristopherBiscardi
left a comment
Contributor
There was a problem hiding this comment.
neat idea, and any file change seems to clear the status. It would be cool to have a followup where you can right-click to clear the status as well.
Contributor
Author
|
Thanks! I opened #61375 for this. |
pixel365
added a commit
to pixel365/zed
that referenced
this pull request
Jul 22, 2026
# Objective Add a way to manually clear completed run statuses from the gutter. Folow-up to zed-industries#61095 This follows up on feedback from the previous gutter run status PR. Currently, editing a file clears run statuses automatically, but there was no direct way to clear a completed status without changing the file. ## Solution - Added a `Clear Run Status` entry to the gutter context menu. - Show the entry only when the row has a completed run status. - Clear the stored run status for that runnable when selected. - Keep running statuses unchanged, so this does not behave like task cancellation. ## Testing - Ran `cargo check -p editor`. - Manually ran a test from the gutter and waited for a completed status. - Verified right-clicking the gutter icon shows `Clear Run Status`. - Verified selecting `Clear Run Status` clears the status icon. - Verified the action is not shown for rows without a completed run status. ## 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 [after.webm](https://github.com/user-attachments/assets/1ae284e1-03b1-4842-a63e-9d66c290b325) --- Release Notes: - Improved gutter run statuses by allowing completed statuses to be cleared from the gutter context menu.
This was referenced Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Solution
Run Test.Testing
cargo check -p editor -p workspace.cargo test -p workspace test_schedule_resolved_task_with_completion_reports_success.Run Testcode lens.Self-Review Checklist:
(https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines)
Showcase
Before:

After:

Release Notes: