Skip to content

v0.32.2 — Watchdog tool PATH, analytics collector refresh and doctor whitespace

Choose a tag to compare

@alextitov19 alextitov19 released this 27 Oct 20:37
· 6 commits to main since this release
1b5ddf3

A maintenance release. Admission, pressure checks, memory accounting and cleanup policy are unchanged.

After a week on v0.32.1, the queue behaved as intended. Pressure never reached red, expired-sample denials fell from 21,422 to zero, and the 95th-percentile queue wait dropped from 19 minutes to about one minute. The same logs exposed three operational bugs, fixed here.

Fixes

  • The watchdog can find Homebrew tools. launchd starts memcap watch with only the system directories on PATH, so docker was never found. Cleanup of finished disposable test environments failed on every pass and wrote about 70,000 identical errors to memcap.err. The watchdog now appends /opt/homebrew/bin and /usr/local/bin. It appends rather than prepends, so tools that already resolved, python3 included, keep resolving to the same binary.
  • Upgrades refresh the analytics collector. brew upgrade replaces the code on disk but never restarts the long-lived analytics collector, so one kept running a deleted older version for two releases and silently dropped every newer event field. The collector now records which installation it loaded, and the next watch pass restarts it if that differs. It restarts at most once per installation, so it can never loop. The manual launchctl kickstart step after upgrades is no longer needed.
  • memcap doctor ignores whitespace-only differences. A blank line added to CLAUDE.md or AGENTS.md by an editor no longer reports the integration as stale. Any change to the guidance text still warns.

Upgrade

brew upgrade memcap

No re-integration or session reload is required. Existing queued jobs finish on the code they loaded, and new commands use v0.32.2. The first watch pass after the upgrade refreshes the analytics collector if it is enabled.

Full details: CHANGELOG.md