Validate keys.log.filter #661

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

Problem

keys.log.filter is defaulted, documented, and used, but config validation omits it.

Evidence:

  • default: lua/forge/config.lua:174
  • docs: doc/forge.nvim.txt:328
  • validator only checks next_step, prev_step, and refresh: lua/forge/config.lua:509

A malformed configured filter key can reach runtime keymap setup instead of failing during config validation.

Expected

Validate keys.log.filter using the same key-or-false rule as the other log keys.

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 `keys.log.filter` is defaulted, documented, and used, but config validation omits it. Evidence: - default: `lua/forge/config.lua:174` - docs: `doc/forge.nvim.txt:328` - validator only checks `next_step`, `prev_step`, and `refresh`: `lua/forge/config.lua:509` A malformed configured filter key can reach runtime keymap setup instead of failing during config validation. ## Expected Validate `keys.log.filter` using the same key-or-false rule as the other log keys. ## 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#661
No description provided.