Reviews
Talking to inline on a pull request
inline answers when you mention it in a pull request comment. Ask it a question, send it back for another look, or teach it a rule your team follows.
Anyone who can comment on the pull request can do this. Teaching a rule that applies to every repository in the workspace is an admin task.
#Ask it a question
Mention @inline followed by your question. inline reads the code to answer, so you can ask about anything in the repository rather than only the lines in the diff.
@inline why is this a race condition? is the shape. So is @inline what else calls this function?
#The commands
inline treats a few words as instructions.
| Comment | What inline does |
|---|---|
| @inline review | Reviews the latest changes again. |
| @inline full review | Reads the whole pull request from scratch. |
| @inline resolve | Resolves inline's own open review comments on the pull request. |
| @inline describe | Writes or refreshes the pull request description from the latest review, keeping your own text. |
| @inline walkthrough | Builds the walkthrough page for the latest review. |
| @inline test | Clones the pull request into a sandbox and runs its tests. |
| @inline fix | Generates fixes for the review's findings and opens a pull request with them. |
| @inline learn <rule> | Remembers a rule for future reviews of this repository. |
| @inline learn global <rule> | Remembers a rule for every repository in the workspace. |
| @inline help | Lists the commands. |
#Teach it a rule
@inline learn followed by a rule stores it and applies it to future reviews of that repository. Write the rule the way you would say it to a new colleague.
@inline learn flag any HMAC comparison that is not constant-time is a good one: specific, checkable, and about this codebase. Rules you add here show up in Learnings, where an admin can change where a rule applies or switch it off.
#Find what was said before
Conversations
Every @inline interaction on your pull requests — questions and answers, re-reviews, resolves, and house rules taught to the bot.
Conversations collects every exchange in one place, so an answer given on a pull request three weeks ago is still findable. Filtering by Questions, Re-reviews, Learnings, Resolves or Help narrows the list to one kind, and search covers the questions, the answers, the author and the pull request number.