Clarify the error message when using the patch_review workflow

Open
#5,669 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by reproducing /moz:patch_review without a patch URL and trace the patch_review prompt-rendering entry point. Done means the resulting error clearly states that a patch URL is required; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Description

mcp

When using /moz:patch_review without passing a patch URL, the error is not clear that the URL is missing, which can be confusing for new users.

Example:

❯ /moz:patch_review (MCP) 
  ⎿  McpError: MCP error 0: Error rendering prompt patch_review.
Dominant language
Python
Stars
570
Forks
351
Avg merge
2d 13h
Merged PRs (30d)
65

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mozilla/bugbug

All issues in mozilla/bugbug

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.