Set up automation
-
Set up a bench. On the machine that will build and test the project, clone the repository and install Inlay. Then run
inlay bench startin the repository folder. The bench takes jobs for the checkouts it finds there. See Set up a bench. - Connect work to the bench. The command opens the bench’s Connect work page. Link your GitHub account, install or link the Inlay GitHub App, and map the repository. Installing the app and mapping repositories need an admin role. See Connect work to a bench.
- Connect Slack, if you want to ask from Slack. See Connect Slack. Each person who asks from Slack also needs a linked Inlay account.
- Send a test request from the Connect work page. It checks that the bench can clone the repository and read the board.
-
Send a first request. Comment
@inlaywith a request in the repository, or mention@Inlayin Slack:Inlay replies On it. and updates the reply with the result when the job finishes.
A machine running the daemon can still take requests, but benches are replacing the daemon. To move a daemon host to a bench, run
inlay bench start --jobs on it.Status replies
A request waits until a bench picks it up. While it waits and runs, Inlay keeps one reply up to date in the GitHub conversation or Slack thread. The reply starts with its state:
The reply ends with a line such as
Request e-d9e7 · Firmware · 39 s · View PR #3. Select the request tag to open the request in the Inlay app. To cancel a request, reply @inlay cancel. See Follow and cancel a request.
Write a complete request
State these in each request:- The repository or pull request, if it isn’t clear from where you ask.
- The change you expect.
- Constraints, such as APIs or message formats to keep.
- How to verify the result, such as tests or builds to run.
- For hardware work, the target board and any power or flashing limits.
Review what Inlay publishes
Coding requests publish by default. Inlay commits, pushes and opens or updates a pull request during the run:- For a request on a pull request, or a Slack request that names one, Inlay pushes to that pull request’s branch.
- For other requests, Inlay creates a branch named
inlay/work/<work-item-id>from the default branch and opens a pull request.
Choose a guide
Bench jobs
Turn jobs on, connect repositories, send a test request, and follow or cancel a job.
GitHub work
Connect a repository, request changes, and set up pull request reviews.
Slack work
Start and continue repository work in a Slack thread.
Benches
Set up a lab machine as a bench and use its boards from your sessions.