Repository navigation
feat(messages): keep only actionable issues in the inbox - #418
Merged
Merged
Conversation
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.
Routine feedback such as search misses, clipboard delivery notices, and background LSP errors currently accumulates in Messages. That makes the inbox noisy and obscures problems the user still needs to address.
This change reserves
:messagesfor unresolved actionable issues. Routine feedback expires in the status line, successful clipboard transport is silent, and background LSP diagnostics go to logs. Stable issue keys coalesce repeated failures; producers resolve issues when the condition clears, while Enter explicitly dismisses them. Reading an issue alone does not resolve it.Shell and update output moves to
:jobs, where users can inspect retained output and cancel running shell commands without creating inbox obligations. Plugins gain owner-scopedPublishIssue/ResolveIssueand RPC equivalents in the existing pending host API 0.21.0. Agent interruptions and durable save, configuration, recovery, and restart problems use the actionable path. Seedocs/MESSAGES.mdfor the behavior and plugin protocol docs for migration details.How to Test
:messagesshould remain empty.:!printf job-output. Jobs should show the output. Close it, check that:messagesremains empty, then reopen:jobsand confirm the output is retained.:saveas <an-existing-directory>. Open:messages: one save issue should explain how to recover. Repeat the failed save and confirm it updates the same issue. Reading it should not clear it. Save successfully with:wor:saveas <valid-file>and confirm the issue disappears.cargo test --lib editor::notificationsandcargo test --lib ui::messages. These cover transient feedback, issue coalescing/resolution, Jobs isolation, and RPC ownership/remedy validation.Validation
Formatting and diff checks passed. In an isolated compatibility build, notification tests (28), Messages UI tests (5), binary tests (23), all-target/all-feature Clippy, executable self-check, and the manual TUI scenarios above passed. The library run passed 2,750 tests; its one failing subprocess test and two filtered home-path tests passed individually with the required process/filesystem access (three other tests ignored).
Production-lock validation remains outstanding: the configured local registry lacks locked
zip 9.0.4, blocking Clippy before compilation. Compatibility validation used zip 9.0.3, Wasmtime 48.0.5, and TLS patches only in an isolated source copy. This PR leaves the production manifests and lockfile unchanged; those local results do not establish a passing production-lock build.