Skip to main content
Comment @inlay in a connected repository to request a change, or turn on automatic pull request reviews. A bench does the work, using the Inlay project mapped to that repository.

Before you start

  • A bench that takes jobs, on a machine with the project’s toolchain and any hardware the work needs. Set it up before you connect the repository, so your first request has a machine to run on. The bench must belong to the team that owns the project.
  • An Inlay project for the repository. Create the project first if it doesn’t exist.
  • An owner or admin role in the Inlay organization that owns the project’s team. If you don’t have one, ask your Inlay administrator to connect the repository.
  • Permission in GitHub to install the Inlay GitHub App on the repository.
  • GitHub linked as a sign-in method on your Inlay account. In the Inlay app, open Settings and choose Link beside GitHub under Sign-in methods.

Connect a repository

The bench’s Connect work page walks you through these steps for the repositories on the bench. See Connect work to a bench. You can also connect a repository from the team’s GitHub page:
  1. In the Inlay app, select the team that owns the project and choose GitHub in the sidebar.
  2. Choose Connect GitHub. Complete the installation on GitHub and grant the app access to the repository.
  3. GitHub returns you to the GitHub Integration page, which confirms GitHub installation linked. If the installation doesn’t appear, choose Refresh. If the page shows GitHub App installed but not linked yet, choose Finish linking.
  4. Find the repository under the installation. If its list is collapsed, select the installation’s name to expand it. Use Search repositories to filter the list.
  5. In the project selector beside the repository, choose your Inlay project. Wait for Repository connected. A project can back only one repository. A project that is already linked appears as Already linked to followed by the repository name, and you can’t select it.
  6. On the bench’s page, check that the bench is online and Takes jobs. If it’s offline, run inlay bench start on the bench machine. To check the whole path, choose Send a test request.
When the team has a linked installation and at least one mapped repository, the page shows GitHub linked and ready. Request a change to try it. To stop routing work from a repository, set its project to Not connected. To remove the whole installation from the team, choose Disconnect on the installation. This deactivates its repository mappings.

Request a change

Comment @inlay followed by your request in any of these places:
  • A comment on an issue or pull request.
  • A review comment on a pull request’s changed lines.
  • The body of a new issue.
Inlay reads the text after @inlay up to the first blank line. A mention with no request after it does nothing, and comments from bots are ignored. Inlay runs requests from people with write or admin access to the repository, and from members of the Inlay team the repository is mapped to who have linked GitHub under Sign-in methods in Settings. Anyone else gets a reply that they can’t start Inlay. Inlay posts a status reply, starting with On it, and edits that reply as the request runs and when it finishes. See Status replies for what each reply means. To run the request on a particular bench, start it with on and the bench’s name, such as @inlay on lab-mac. See How a request finds a bench. Until a bench picks up the request, you can edit the comment to change it. To cancel it, remove the mention or delete the comment. After the run starts, editing the comment doesn’t change the request. Inlay replies asking you to leave a new comment instead. To cancel a request at any point, reply @inlay cancel. Anyone with write access to the repository can cancel. Inlay commits and pushes its changes. The finished reply ends with a link to the request in the Inlay app and, when there’s one, View PR followed by the pull request number. Where you ask decides the branch: See Review what Inlay publishes for asking for local-only work and for merging. Inlay doesn’t work on pull requests opened from forks, or on pull requests that are no longer open. A request on a fork pull request stays waiting and never starts. If someone pushes to the pull request branch while Inlay is working, Inlay’s push can fail. Request a new run against the current branch instead of overwriting their work.

Answer a question

When Inlay needs input, it posts a question with a reply command. Post a new comment with that command and your answer:
Copy the exact command from Inlay’s comment, because it identifies the paused run. The reply must come from the person who made the request. The run resumes in the same checkout. Inlay keeps the checkout of a paused or failed run so a reply can resume it. On a bench, the oldest checkouts are removed when jobs need disk space. On a daemon host, checkouts older than seven days are removed when the daemon starts. After that, start a new request with the relevant context.

Review pull requests

Inlay can review pull requests automatically. A review reads the diff, posts findings on changed lines and never edits files or runs build commands.

Turn on automatic reviews

  1. On the team’s GitHub Integration page, find the installation. If its list is collapsed, select the installation’s name to expand it.
  2. Turn on Review beside each mapped repository you want reviewed.
  3. Keep a bench that takes jobs for the repository online. Reviews run only while a bench can pick them up. A review never runs on a bench owned by the person who asked for it or by the pull request’s author.
Review is unavailable when the repository isn’t mapped to a project, when you can’t manage the integration, or when reviews are stopped for the installation. Automatic reviews run when a pull request is opened, reopened, marked ready for review, or receives new commits. Draft pull requests aren’t reviewed. To request a review yourself, comment @inlay review on a pull request in a mapped repository. This works even when Review is off for the repository.

Read the review

Each review posts:
  • An overview of the change with a risk rating of high, medium or low.
  • Findings on the changed lines, each with a severity and sometimes a suggested fix. A review reports at most 50 findings.
  • An Inlay Review check. It passes when there are no findings, fails when any finding is high severity, and is neutral otherwise.
A review is skipped when the pull request has no diff or the diff is larger than about 400 KB. Split large changes into focused pull requests. A clean review doesn’t replace the project’s tests. To give reviewers project rules, such as generated-code boundaries or error-handling requirements, add .inlay/REVIEW.md to the repository. Inlay reads the first 32 KB.

Choose installation settings

The installation’s Automatic pull request review section controls defaults for all its repositories: Check the Review and Autofix switches on each repository instead of assuming the defaults apply.

Use autofix

Turn on Autofix beside a repository to have Inlay fix review findings. Autofix needs Review turned on. When a review finds issues, Inlay queues a separate fix run, shown as an Inlay Autofix check. That run pushes to the pull request branch. Leave Autofix off if you only want findings.

Troubleshoot

  • GitHub isn’t in the sidebar, or connect controls are missing: ask your Inlay administrator whether integrations are available for your team and whether you have an owner or admin role in the organization.
  • You do not have permission to perform this action: connecting, mapping and review settings need an owner or admin role in the Inlay organization. Ask your Inlay administrator.
  • GitHub identity link required: link GitHub under Sign-in methods in Settings, then choose Connect GitHub again.
  • GitHub connection expired: choose Manage GitHub sign-in, choose Reconnect beside GitHub, then retry Connect GitHub.
  • GitHub install session expired or GitHub install could not be completed: choose Connect GitHub again from the GitHub Integration page.
  • Only the installer can link this installation: ask the person who installed the GitHub App to open the page and choose Finish linking. Or uninstall the app on GitHub and install it again from the GitHub Integration page.
  • This GitHub installation can’t be linked here: the installation is linked to another organization, or was removed or suspended on GitHub.
  • The repository is missing: confirm the GitHub App has access to it, finish any pending link, and choose Refresh.
  • No work starts, or Inlay replies Waiting or No bench takes work for the repository yet: open the bench’s Connect work page and finish the steps it lists. Check that the repository is mapped, the bench is online, and it takes jobs for the repository. See Bench jobs troubleshooting.
  • Only collaborators with write access to this repository, or members of the Inlay team it is connected to, can start Inlay: ask for write access to the repository. Or ask your Inlay administrator to add you to the team the repository is mapped to, then link GitHub under Sign-in methods in Settings.
  • I can’t tell which Inlay account is yours: link GitHub under Sign-in methods in Settings.
  • No automatic review appears: check that Review is on, the pull request isn’t a draft or opened from a fork, and a bench that takes jobs for the repository is online. Check Automatic reviews per month. If no bench picks up a review within six hours, the check closes as No runner picked this up. Push to the pull request to start a new review.
  • A request on a pull request from a fork stays at Waiting for a bench to take this: Inlay doesn’t work on fork pull requests. Push the branch to the connected repository and open the pull request from there.
  • Inlay says the pull request is no longer open: the pull request was closed or merged before the run started. Leave a new @inlay comment on an issue to start a new pull request from the default branch.
  • GitHub CLI isn’t available on the bench: Inlay uses gh from the machine’s PATH or downloads its own copy. If the host can’t download it, install GitHub CLI and set INLAY_GH_PATH to its absolute path. Inlay signs in to git and gh for each run, so you don’t need a separate gh login.
  • Update the daemon: agent-owned publishing is required: update Inlay on the daemon host, then stop and start the daemon.
  • Build tools are missing: install or configure them on the bench, then request a new run.
  • The push fails: check whether the pull request branch changed during the run.
  • Work waits for hardware: run inlay bench watch <bench> to see what holds the bench’s hardware. Let it finish, or stop it deliberately.
See Run jobs on a bench for job settings, limits and taking over a job.
Last modified on November 25, 2026