Set up automation
Set up in this order: the daemon first, then GitHub, then Slack if you want it. Steps 3 and 4 need an owner or admin role in the Embedder organization.-
Prepare the daemon host. Choose the machine that will build and test the project, and install Embedder on it. Run
embedderthere once and sign in with an account on the team that owns the project. On a host with no interactive terminal, create an access token instead. See Prepare the host. -
Start the daemon. On the daemon host, run
embedder start daemon. Then runembedder monitorto open the Daemon Monitor, and check that the daemon shows connected. See Start the daemon. - Connect GitHub. Connect the repository and map it to an Embedder project. Slack requests use the same repository mappings.
- Connect Slack, if you want to ask from Slack. See Connect Slack. Each person who asks from Slack also needs a linked Embedder account.
-
Send a first request. Comment
@embedderwith a request in the repository, or mention@Embedderin Slack:Embedder replies On it. I’ll update this reply with the result. The result appears in the same conversation when the run finishes.
Status replies
A request waits until a daemon picks it up. If no daemon is running, nothing starts. While a request waits, Embedder posts a status reply in the GitHub conversation or Slack thread:
In these replies, a bench is a machine running the daemon.
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 Embedder publishes
Coding requests publish by default. Embedder 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, Embedder pushes to that pull request’s branch.
- For other requests, Embedder creates a branch named
embedder/work/<work-item-id>from the default branch and opens a pull request.
Choose a guide
Operate the daemon
Start, monitor, scope, and stop the daemon host that runs the work.
GitHub work
Connect a repository, request changes, and set up pull request reviews.
Slack work
Start and continue repository work in a Slack thread.
Remote hardware
Use a board attached to another machine.