Skip to content

opentraces v0.4.11

Choose a tag to compare

@JayFarei JayFarei released this 22 Jul 15:07
· 38 commits to main since this release

Install

pipx install opentraces==0.4.11
# or
brew install JayFarei/opentraces/opentraces

Changes

  • fix(trails): anchor-search v3 — stop the ~26 GB trail bloat (#358). git_anchor_search_completed summary events no longer embed the full per-patch results[] list (20k+ entries / ~4.3 MB per event on a mature repo, which grew to 98% of all trail bytes). The v3 payload keeps the scalar aggregates plus anchored-only detail and represents the searched-but-unanchored remainder with an O(1) coverage claim (hot post-commit hook / trail attach) or exact ids (maturation flush / compaction), read through a tri-shape reader. This stops the fat events from ever being written again — memory-safe and fast.
  • fix(trails): maturation sweep is coverage-claim-aware (#359). The periodic watcher sweep no longer re-searches claim-covered patches and re-emits fat v2 summaries, so the bloat cannot regrow one tick after every commit on watcher-active installs.
  • fix(dataset): require remote publish acknowledgment (#312). Dataset publish now treats the remote commit acknowledgment as the success authority.
  • bucket reclaim --anchor-search (experimental, opt-in, default off): compacts already-bloated historical trail buckets to the v3-compact shape. Ships behind an explicit flag because the recovery pass is O(corpus) and currently slow on large real buckets (tracked in #362); a plain bucket reclaim runs only the fast cruft pass.
  • docs: CLAUDE.md trimmed; .well-known agent-skills refreshed to the v7 CLI surface.

Schema unchanged (opentraces-schema 0.9.0). Trail payload shapes are internal and do not affect the published HuggingFace row schema.