Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions kenny-server/kenny_server/hardware_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def _event_id(value: Any) -> int | None:
return None


# POSSIBLY DEAD: no production caller — only tests/test_hardware_catalog.py uses
# this, as the seam check between the agent query and ATTRIBUTED_EVENTS.
def queried_events() -> frozenset[tuple[str, int]]:
"""The ``(canonical provider, event_id)`` pairs the agent queries on Windows."""

Expand Down Expand Up @@ -383,6 +385,8 @@ def _bugcheck_codes(details: Any) -> dict[str, int]:
"ata": "storage",
"pcie_aer": "pcie",
}
# POSSIBLY DEAD: no production caller reads this set — attribution looks keys up
# in _LINUX_COMPONENTS directly; only tests/test_hardware_catalog.py reads it.
ATTRIBUTED_LINUX_KEYS: frozenset[str] = frozenset(_LINUX_COMPONENTS)

# Severity per Linux key for a *journal* group. A journal line cannot say
Expand Down