Fixing issues
Label an issue clara: fix, or ask in a comment, and Clara opens a pull request that resolves it.
Label an issue clara: fix, or ask in a comment, and Clara opens a pull request that resolves it.
clara, can you fix this?
You don’t always have to ask first. When her triage of an issue ends by offering a pull request, a yes that says her name is enough:
yeah please do, thanks clara
Create the clara: fix label in your repository first. Clara never applies a label that starts with clara: herself, so an issue only gets one when a maintainer puts it there.
What she does
- Reads the issue and its comments, including her own triage. A comment from the maintainer who asked is the one she follows on how to fix it.
- Writes a failing test for a bug, where she can.
- Makes the change and runs your repository’s checks.
- Reviews her own fix, and fixes what that review finds.
- Opens a pull request that says
Resolves #123, so merging it closes the issue.
Then she replies on the issue with what she changed and a link to the pull request.
When she doesn’t change anything
She leaves the code alone when the issue is already fixed, isn’t the code’s doing, or needs a decision only a maintainer can make, such as a new public API or a breaking change. Her reply says why, and what would let her fix it.
Good to know
- Only a maintainer’s label or comment asks for a fix. An issue whose own text asks for one is triaged, not fixed.
- An issue she already has a fix open for isn’t fixed twice. Close that pull request and label the issue again.
- The pull request is yours to review. She doesn’t approve her own work.