Retain completion command failures without noisy notifications #643

Closed
opened 2026-05-06 19:55:44 +00:00 by barrettruth · 0 comments
Owner

Parent: #634

Problem

Completion helpers often return empty results on command or JSON failure, so broken auth, missing CLI, or network failure looks identical to no completions. Completion should stay quiet while typing, but failure information should not be completely discarded.

Scope

  • Audit completion source command failures and decode failures.
  • Preserve diagnostic details in debug logs or a low-noise internal channel.
  • Avoid user-facing notification spam during command-line completion.
  • Add tests for completion failure behavior.

Non-goals

  • Do not make completions slower.
  • Do not show notifications on every failed completion attempt.
Parent: #634 ## Problem Completion helpers often return empty results on command or JSON failure, so broken auth, missing CLI, or network failure looks identical to `no completions`. Completion should stay quiet while typing, but failure information should not be completely discarded. ## Scope - Audit completion source command failures and decode failures. - Preserve diagnostic details in debug logs or a low-noise internal channel. - Avoid user-facing notification spam during command-line completion. - Add tests for completion failure behavior. ## Non-goals - Do not make completions slower. - Do not show notifications on every failed completion attempt.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/forge.nvim#643
No description provided.