Skip to content

Jazz v0.9.10 — Code Reviews That *Actually* Land On The Right Line

Choose a tag to compare

@lvndry lvndry released this 17 Feb 11:42

Jazz v0.9.10 — Code Reviews That Actually Land On The Right Line

Your friendly neighborhood AI reviewer just got a serious upgrade.

v0.9.10 focuses on making Jazz’s GitHub code review workflow sharper, safer, and way more reliable—especially around inline comments, TODO tracking, and streaming output. Less “line could not be resolved” noise, more signal.

Highlights

  • Smarter, safer GitHub Action for code review
    The Jazz AI workflow has been promoted from a simple pull_request_target listener to a fully featured, security-conscious review bot:

    • Now runs on pull_request, workflow_dispatch, and issue_comment events.
    • You can trigger a review from the Actions tab or by commenting /jazz-review on a PR (for trusted authors).
    • Stronger security guardrails ensure Jazz only runs with secrets when the PR head repo matches the main repo.
  • New first-class TODO tools for agents
    Turn your AI assistant into an actual project sidekick, not just a one-off answer box:

    • Agents can now create and manage structured todos as they work.
    • Multi-step tasks get tracked instead of disappearing into the scrollback.
    • Designed to pair naturally with Jazz’s "plan, then act" workflow so complex work stays organized across sessions.
  • Smoother, more reliable streaming of text in the CLI
    The live output experience got a glow-up:

    • Clearer, more stable token streaming while agents think out loud.
    • Less flicker and jumpiness when tools and reasoning interleave.
    • Better behavior for long-running streams so you can follow the thought instead of waiting on big chunky dumps.
    • Feels more like hanging out with a thoughtful pair-programmer than watching a log firehose.
  • Rock-solid diff + line-number handling
    Inline comments now respect what GitHub actually considers “commentable”:

    • Jazz parses each PR file’s unified diff and tracks valid left/right line numbers per hunk.
    • Comments that point at lines outside the diff are automatically downgraded into general review comments, instead of exploding with API errors.
    • Multi-line comments get extra validation so start_line / line pairs are always safe and consistent.
  • Fewer broken reviews, more useful feedback

    • Deleted files are properly treated as LEFT-side only when building comments.
    • Comments with obviously invalid paths/lines are filtered out before hitting the API.
    • If everything fails inline, Jazz gracefully falls back to a clean, readable summary comment instead of silently dying.
  • CI reviewer and release workflows tightened up

    • Uses the new resolve job to compute PR number, base SHA, head SHA, and head repo before running the review.
    • All calls to the GitHub API (reviews, comments) now consistently target that resolved PR + head commit.
    • Review output is routed through jazz --output raw for cleaner logs and easier post-processing.
    • When Jazz can’t generate release notes, the release workflow now falls back to GitHub’s auto-generated notes based on tags—no more empty or misleading releases.
  • Clearer rules for agents
    The code-review/WORKFLOW.md spec has been updated with an explicit, no-nonsense section on line number accuracy:

    • Only comment on lines that appear in the diff.
    • Don’t guess line numbers.
    • Prefer changed lines, but context lines are fair game.
    • Anything outside the diff? Attach your note to the nearest valid line and explain it in the body.

Why this matters

If you’ve ever shipped a “perfectly” automated code review that promptly crashed on GitHub with Line could not be resolved, this release is for you.

v0.9.10 makes Jazz’s GitHub code review loop:

  • More robust against weird PR shapes and forked repos.
  • More secure about when it runs with repo secrets.
  • More informative when it can’t anchor feedback inline.

You get all the benefits of an AI reviewer without the brittle edge cases.

How to use it

  • Install or update Jazz:

    npm install -g jazz-ai
  • Wire up the GitHub Action (if you haven’t already) using .github/workflows/jazz.yml from this repo.

  • On any PR:

    • Let the workflow run automatically on pull_request, or
    • Trigger it manually from Actions → Jazz AI, or
    • Comment /jazz-review on the PR (as a repo owner/member/collaborator).

Then sit back while Jazz leaves structured, line-accurate feedback right on your diffs.


If you’re using Jazz for code review, this version is a must-upgrade. Less yak-shaving around CI wiring, more time actually shipping code. 🎷