Skip to content

TaskHealth v0.2.0

Choose a tag to compare

@LuHaoran1981 LuHaoran1981 released this 15 Aug 16:52
· 22 commits to main since this release

What's new in v0.2.0

Features

  • Lock-name resolution — DEADLOCK / LOCK_WAIT alerts now resolve the blocked
    futex address to a registered mutex name (via the client's cooperative
    MSG_MUTEX_REGISTER hook), so alerts read lock=lock-A instead of a bare address.

Fixes & hardening

  • Watchdog snapshot/write-back — /proc probes and alert emission no longer
    hold the registry lock, so slow probes don't block client registration.
  • Heartbeat recovery — deadlock / lock-wait flags reset when a thread
    heartbeats again, so a new episode re-alerts.
  • Error distinction — register now distinguishes table-full vs
    already-registered (distinct error codes).
  • Client response timeout — the synchronous register response wait is bounded
    (2s) so a hung daemon can't block the caller indefinitely.

Packaging

  • SPDX license identifiers on all source files (MIT for src/ + include/,
    GPL-2.0-or-later for daemon/ + demo/ + test/).
  • Fixed Debian install paths (usr/include/taskhealth/protocol.h,
    usr/bin/taskhealth-demo) and 3.0 (quilt) source format.