Files
BearHuddleston 124c2ec9c6 fix(pm): return a reason instead of raising when host glibc detection fails
`Package.native_abi_reason()` raised `InstallError` whenever
`os.confstr("CS_GNU_LIBC_VERSION")` failed or returned a non-glibc value,
causing read-only availability probes (`is_installed`, `installed_package`,
`unavailable_reason`, `resolve_backend("auto")`, and the local-models status
route) to raise before Vulkan or CPU fallback could run.

Return the failure text as a reason string instead. Explicit installs,
`pm.ensure`, `resolve_backend(<backend>)`, and `BinaryPackage.verify` remain
fail-closed while read-only checks and `"auto"` fallback degrade cleanly.

Review: https://github.com/NousResearch/hermes-agent/pull/154545#discussion_r4625655923
124c2ec9c6 · 2026-11-19 02:35:54 -06:00
History
..