Report vim.ui.open failures in browse actions #665

Closed
opened 2026-05-09 00:46:57 +00:00 by barrettruth · 0 comments
Owner

Problem

Some browse actions ignore vim.ui.open() failures and report success or do nothing visible.

Evidence:

  • repo browse returns true after vim.ui.open(url): lua/forge/action/ops.lua:776
  • terminal gx ignores the open result: lua/forge/term.lua:116
  • checks picker browse ignores the open result: lua/forge/picker/checks.lua:140

This makes browser-provider failures silent in common user actions.

Expected

Handle vim.ui.open() failures consistently, preserving useful failure detail without noisy success-path logging.

Context

Found during release-preview readiness audit. Remote Forgejo CI cannot currently be awaited because the Spark runner is down; use local verification for the fix.

## Problem Some browse actions ignore `vim.ui.open()` failures and report success or do nothing visible. Evidence: - repo browse returns true after `vim.ui.open(url)`: `lua/forge/action/ops.lua:776` - terminal `gx` ignores the open result: `lua/forge/term.lua:116` - checks picker browse ignores the open result: `lua/forge/picker/checks.lua:140` This makes browser-provider failures silent in common user actions. ## Expected Handle `vim.ui.open()` failures consistently, preserving useful failure detail without noisy success-path logging. ## Context Found during release-preview readiness audit. Remote Forgejo CI cannot currently be awaited because the Spark runner is down; use local verification for the fix.
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#665
No description provided.