Reference

Architecture

How a merge travels through land, from the CLI to a signed result, in one diagram.

The diagram

How land works, from land merge or a GitHub job, through the control and data planes, the merge and lookup, the job queue and the runner microVMs, to the facts and the verdict.LAND'S CLOUD, OR YOUR OWN DATA PLANERUNNER FLEET, LINUX VMS ADDED AND REMOVEDWITH THE QUEUEWHERE WORK STARTSTHE VERDICTWHERE YOU WATCH ITCLIAn agent or a personland merge a b c --onto mainSends only the git objects land lacks, thenwaits for one verdict.GitHub AppGitHub Actionsruns-on: landThe job goes straight to the queue and runsin a microVM of its own.land-actionGitHub Action or GitLab CIThe same recorder on GitHub's or GitLab's ownrunners, with no land account.git.useland.devData planeYour repository's code, the engine, thesigning key, the verdict facts, your secrets(stored encrypted) and the job queue.api.useland.devControl planeAccounts, tokens, billing, the dashboard andGitHub's webhooks. No code.weaveMerge by entityCombines branches function by function. Areal conflict refuses and names the region.lookupCarry or runA test is carried when every file it readlast time hashes the same.planSplit into shardsTests that must run are packed by how longeach took before.Job queueRunners lease jobs from it. A job whoserunner dies goes back in.installSetup VMRuns your setup.sh as root with the networkon. What it writes becomes a read-only layer,reused until a file it read changes.FirecrackerCheck microVM, one per shard2, 4, 8 or 16 vCPUs. Offline unless a linesays network. Each test runs as anunprivileged user in its own namespace, andinspect's eBPF sensor records every file itreads.factsFacts by read-setThe data plane turns what each test read andhow it ended into a fact, failures too, andfolds them into one verdict.LANDEDSigned, ready to pushThe result commit and a signed attestation.Your agent pushes both with its owncredentials.REFUSEDThe failing test and its culpritThe branch that broke it, found from reads orby bisection, and a one-command repro.DashboardEvery run, its verdict, and a chart of howmany cores each check kept busy.OpenTelemetryWith an OTLP endpoint set, the CLI sends aspan for each phase and each test that ran.Why two planesThe control plane never holds code or a signingkey, so a team can run the data plane and itsrunners on its own machines and keep its codethere.Why carried tests are safeThe sensor records file contents, directorylistings and files that were missing. If any ofthem differs, the test runs. A test that usesthe network is never carried.Why a docs change costs secondsNo test read the docs, so every test is carriedand no VM boots. What is left is the merge, thelookup and the signature.Why a microVM per checkEach shard gets a fresh kernel and disk, so acheck starts clean, cannot reach the runner oranother check, and leaves nothing behind.Why setup runs apartsetup.sh runs as root with the network, so theVM that ran it never runs or reports a test.Why land never pushesland holds no push rights. Your agent movesmain, and anyone can check the attestationoffline with land verify.

The path, step by step

Work reaches land in two ways. An agent or a person runs land merge with the finished branches and the target, and the CLI uploads only the git objects land does not have yet. A GitHub Actions job labelled runs-on: land arrives through the land GitHub App instead and goes straight to the job queue. The land-action template for GitHub Actions and GitLab CI runs the same recorder on those services' own runners, outside land's machines.

api.useland.dev is the control plane. It knows accounts, tokens and billing, serves the dashboard and receives GitHub's webhooks, but it holds no code. The code lives on the data plane at git.useland.dev, together with the engine, the signing key, the verdict facts, your encrypted secrets and the job queue. A team that self-hosts runs its own data plane, and land's cloud then sees only ids, names and counts.

On the data plane, weave merges the branches by function and class instead of by line, and refuses rather than guesses when two branches change the same thing in different ways. Then every required test is looked up. A test is carried when every file it read on its last run hashes the same in the merged result, and the tests that must run are split into shards by how long each took before. Each shard becomes one job in the queue.

Runners are Linux VMs that lease jobs from the queue, added and removed as it grows and empties. The environment is built by a separate setup VM that runs .land/setup.sh as root with the network on, and what it writes becomes a read-only layer every check mounts. Each shard runs in its own Firecracker microVM with 2, 4, 8 or 16 vCPUs, offline unless a line says network, with each test as an unprivileged user while inspect's eBPF sensor records every file it reads.

The runner sends back what each test read and how it ended, and the data plane turns that into facts, failures included, which the next lookup reuses. If every required test passed, land returns the result commit and a signed attestation, and your agent pushes them with its own credentials. If not, the branch is refused with the failing test, the branch that caused it and a command that reproduces it (see Reading a verdict). The dashboard shows each run with its CPU chart, and the CLI can send OpenTelemetry spans to your own collector.