You are reading the docs for v0.0.1-beta-8. Latest (main) →

Beta 8: images that follow their registry, a live queue, and live job output

View .mdEdit on GitHub

Tuesday, December 1, 2026 · Alex Rabin

kinhin watches your CI queue and, for each queued job, starts a fresh VM or container on your Apple Silicon Mac, registers a one-job runner, lets it run, then deletes it. By default nothing idles and nothing is left over; the exceptions are runners you keep with min_idle and the Docker Hub cache. It is free, open source (Apache-2.0), and sends no telemetry unless you point it at your own OpenTelemetry server.

Beta 8 makes three things you did by hand something kinhin does for you. Images can follow the registry they were built from, the queue is something you can read and reorder, and a running job's output shows up as it is written. It has no breaking change. The Buildkite, Azure Pipelines and Bitbucket Pipelines work did not make this beta either and moves to beta 9. This post covers what is new, what to do when you upgrade, what has been run, and what has not.

What is new#

Images that follow their registry#

A base image like ghcr.io/cirruslabs/macos-tahoe-xcode:latest moves under you: a new Xcode lands, and your fleet keeps running the one you baked. Until now you noticed by accident and rebuilt by hand. Now every bake records the digest it was made from (in baked-images.json) and clones from exactly that digest, and image_updates: decides what happens when the registry serves a newer one:

ModeWhat kinhin does
offNothing. It never asks the registry.
notifyRaises an image-update warning in kinhin status and your alerts. The default.
approveQueues the rebuild as a healing fix. kinhin heal approve ID, or the app, carries it out.
autoRebuilds once nothing has been queued or running for quiet_minutes, one image at a time.

An images: entry can override the mode with update:. By hand, kinhin image update reports, kinhin image update --apply rebuilds, and kinhin image rollback --image NAME rebuilds from the digest it was baked from before (kinhin keeps the last three). The Apple container and Docker images follow Docker Hub or their registry too, under the global mode.

A check is one anonymous registry request per image per day. A base_image pinned to a digest is never checked or touched, and that is how you opt one image out. Three things to know before turning on auto: a bad upstream image reaches your CI, and waiting for a quiet queue helps with timing, not quality; warm VMs cloned from the old image stay in the pool until warm_max_age_minutes, so the first jobs after an update can still run on the old Xcode; and a rollback needs the registry to still serve the earlier digest. See Let kinhin follow the registry. The manual version of this is in Three repos on one M5 Mac mini, with a dated update about what kinhin now does itself.

A queue you can read, and Run next#

kinhin jobs lists the jobs running now and the jobs waiting, with the forge each came from, as text or --json; kinhin queue is the waiting half. The queue is first in, first out, and the Fleet tab's Queued work card shows the same list. Run next pins one waiting job so the next instance starts for its runtime. This also fixes Current jobs staying empty while a scale-set container was busy. See Requeue and skip queued jobs and Run next.

Live job output#

The pipeline pane and kinhin pipeline --log --follow used to re-download the forge's whole log every couple of seconds, and GitHub flushes it late. Now kinhin reads the output from inside the VM or container the job is running in, so it appears as it is written, and falls back to the forge's own log when the tap has nothing. Gitea and Forgejo runners now write job logs the pane can stream, and a busy VM whose forge has not named the job yet gets a one-job pipeline you can open.

Smaller changes#

container.provision_script and docker.provision_script bake a script of your own into the Linux images, the way the top-level provision_script does for the macOS VM. The website is rebuilt on Next.js and Cloudflare Workers, and every page is also available as markdown (<page>.md, llms.txt).

Upgrading#

There is no breaking change, and no config change is needed. One default is new: image_updates.mode is notify, so after you update kinhin makes one anonymous registry request per image per day and may raise an image-update warning, and send it to your alert webhooks. It changes nothing on its own. Set image_updates: { mode: off } if you do not want the check. An image baked before this release has no recorded digest, so its first check takes the registry's current digest as the baseline and flags nothing.

  • Update from beta 7 in the app, or install over it when no jobs are running. Updating restarts the daemon onto the new build and interrupts its running jobs, so update when the fleet is idle.

What has been run#

Run means it was executed for this release. Not yet means it has not been, and I am not claiming it.

  • Not yet: the unit suite and the repository's release checks on the release preparation commit.
  • Not yet: ThreadSanitizer (scripts/tsan.sh) after the release preparation commit. The image swap and the update checker are new shared state.
  • Not yet: kinhin image update and a rollback against a real macOS image on a real registry.
  • Not yet: approve and auto on a live fleet, including spawns waiting while an image is swapped.
  • Not yet: the Docker and Apple container image updates, and the image-update end-to-end tests, in CI. They have passed on one machine for Docker, which I am not counting.
  • Not yet: live job output and Run next on a live fleet.
  • Not yet: an upgrade from beta 7 with real state, or the in-app update from beta 7.
  • Not yet: the full end-to-end suite on this release. It runs only in CI, and its dedicated Mac is not registered yet.
  • Not yet: the Buildkite, Azure Pipelines and Bitbucket Pipelines lanes. They did not make beta 8 and move to beta 9. Azure stays experimental, Buildkite and Bitbucket stay planned, and GitHub, Gitea, Forgejo and GitLab CE remain the supported forges.
  • Not yet: a long-running soak test.

Try it#

The release is published on GitHub. Install it with:

curl -fsSL https://github.com/RabinApps/kinhin/releases/latest/download/install.sh | bash

You need an Apple Silicon Mac on macOS 15 or newer with about 60 GB of free disk and an access token for your forge. The Quick start goes from install to a running fleet.

Where I need help#

  1. Image updates on a real fleet. Leave the default and tell me whether the image-update warning matched a real new upstream version. If you try approve or auto, tell me which Xcode your first jobs ran on afterwards.
  2. Rollback. Run kinhin image rollback once and tell me whether the registry still served the old digest.
  3. Live output. Follow a running job with kinhin pipeline --log --follow and tell me where it differed from the forge's log.
  4. Run next. Pin a queued job and tell me whether the instance that started was for the right runtime.
  5. Upgrades. Going from beta 7, tell me whether anything was lost or the daemon failed to start.

One real report is valuable, including when it fails. Open a forge or runtime report and attach the output of kinhin doctor --bundle after a glance through it, since it is redacted but not perfect.

Thank you#

Thank you for installing the betas and reporting what you find, and to the contributors whose pull requests are in this release. kinhin is free and Apache-2.0. If it saves you CI minutes, you can support it.

Alex