Skip to content

v0.1.2 β€” CLI error handling + installable package

Choose a tag to compare

@keyneszeng keyneszeng released this 06 Sep 11:25
· 13 commits to main since this release

v0.1.2 β€” 2026-09-06

What's in this release

  • Bug fix: CLI no longer dumps full Python tracebacks for common errors (missing token, bad token, network errors). Prints a clean one-line error + hint instead.
  • Installable as a package via pip install -e . β€” no more cd src/ needed to use python -m bagbot.cli.
  • MyPy strict type checking added to CI.
  • Ruff linting (bugbear + security + pyupgrade) added to CI.
  • CI matrix expanded to Python 3.10, 3.11, and 3.12.
  • Nightly mutation testing GitHub Action.
  • 3 new tests for CLI error paths.

Test status

  • 83 unit + integration tests passing
  • Mutation score: policy 92.9%, daemon 94.1%
  • mypy: clean
  • ruff: clean
  • shellcheck: clean

Bug fixes from mutation testing (v0.1.1)

  • ALERT branch was unreachable (moved above if current is None guard)
  • Dashboard topup endpoint had inverted is not None / is None check
  • KeyStatus was missing used_fraction property
  • cli probe could leak secrets to stdout (now redacted)

Built in 7 days for Orbio Build Week β€” see README for the full story.