fix(keymap): prevent Niri and Hyprland CPU-budget failures (1.3.4) (#135)

* fix(keymap): reduce Niri parser CPU usage

* test(keymap): cover Niri parser scan budget

* fix(keymap): keep Hyprland refreshes within CPU budget

* chore(keymap): bump release to 1.3.4
This commit is contained in:
blacku
2026-07-28 21:11:34 -04:00
committed by GitHub
parent c04fe989e4
commit 9c60991b0d
9 changed files with 449 additions and 102 deletions
+3
View File
@@ -111,6 +111,9 @@ local function runCase(case)
case.id, source, case.snippet, case.capabilities,
case.startLine, case.endLine
)
-- Active Hyprland source entries use exact byte comparison to keep hashing
-- out of the service's tightly budgeted refresh callback.
if case.compositor == "Hyprland" then bind.fingerprint = "exact-v1" end
stateValues["keymap.snapshot"] = {
status = "ready", compositor = case.compositor, source = root,
categories = { { name = case.category, binds = { bind } } },