Skip to content

Releases

pr-watch v1.0.1 — a mistyped flag no longer runs a live pass

Choose a tag to compare

@tonydzi tonydzi released this 26 Aug 15:26

--help no longer runs a live pass.

pr-watch --help used to fall through to the tick: it queried GitHub, wrote snapshots and printed a heartbeat. Any mistyped flag did the same. That is the worst kind of bug — it looks like success, and it is indistinguishable from the command you actually meant.

  • --help / -h prints usage and exits 0 without reading the config.
  • An unrecognised flag exits 2 and names the offending option.
  • The value of --note is skipped when scanning, so a note may legitimately start with -.

Also in this release: pyproject.toml and a release-triggered publish workflow, so the tool can be installed rather than curl'd once it is on PyPI. The workflow authenticates over OIDC (Trusted Publishing) — no token is stored in the repository or anywhere else.

Verification. 16/16 offline checks green, and the two new ones were mutant-verified rather than merely run: deleting the guard turns them red, deleting the --help branch turns the third red. twine check --strict PASSED on both artifacts and the wheel installs into a clean venv where the console script runs.

pr-watch v1.0.0 — the ledger for pull requests you opened elsewhere

Choose a tag to compare

@tonydzi tonydzi released this 26 Aug 15:07

First tagged release of pr-watch — an outbound ledger and daily harvest digest for the pull requests and issues you opened in other people's repositories.

Why it exists. GitHub notifications drown. The thread where a maintainer answered you three days ago is exactly the one you never see. In our own use, 5 pull requests from 3 strangers sat unanswered for 4 days — not out of rudeness, but because no single list of "everything we have out there" existed anywhere.

What is in v1.0.0

  • --add <url> registers a pull request or issue into the ledger.
  • tick snapshots every registered position and alerts on: new comments and reviews, changed review verdicts, label changes, new commits, CI conclusion changes, title changes, merge and close. Deleted comments and other exotic transitions are deliberately out of scope.
  • The tick also auto-discovers your own open pull requests via gh search prs --author, so a pull request opened from another machine still lands in the ledger.
  • --digest reads only the saved snapshots — zero network calls — and splits the ledger into ball with us, ball with them, and moved in the last day.
  • One file, Python 3 stdlib only. The single external dependency is the gh CLI. Zero LLM calls, no API key.
  • test_pr_watch.py ships with the tool.

Install

curl -O https://raw.githubusercontent.com/tonydzi/pr-watch/master/pr_watch.py
python3 pr_watch.py --add https://github.com/owner/repo/pull/123

MIT licensed. Bug reports and "it broke on my ledger" issues are welcome.