Known limitations · all pages

Start

Guides

Reference

Project

  1. Docs
  2. Project
  3. Known limitations

Known limitations

What diaporos doesn't do yet. Read this before relying on it.

  • 3 min read
  • The fleet is pushed from one CLI. diaporos fleet drives nodes from a static file: no placement, gossip or release log yet, so a dead node’s services don’t move. Nodes without a trust file run any manifest the store serves. Peer fetch needs node-to-node reachability on the API port, and POST /pack there is open like the store (release content only, verified by the receiver; never secrets). A first batch of N nodes, with no node on the release yet, reads it from the store N times, and the store diffs a changed file once per concurrent request. Interrupting a rollout (Ctrl-C) leaves nodes where they are; diaporos fleet status shows the drift and a rerun finishes it.
  • Isolation is partial. --runner sandbox (Linux) enforces files, ports, cpu, memory and pids, and drops to an unprivileged uid. There are no namespaces or seccomp yet, net.connect is enforced by port only (not host), and TCP rules need kernel 6.7+. The default process runner only scrubs the environment.
  • The control API is plain HTTP. Its bearer token travels unencrypted, so keep it on loopback (the default) and tunnel with ssh -L. Restarting the daemon restarts its services (they come back from saved state); only deploys are zero-downtime. The daemon deploys tree releases only; diaporos run handles single binaries.
  • Observability is in memory and local. Events (last 1024) and counters reset when the daemon restarts; history belongs to whatever scrapes /metrics. During a swap both releases append to the same log file (start markers separate them). cgroup usage needs the sandbox runner. The dashboard URL carries the token in its fragment, so it can land in local browser history.
  • Secrets are files on the node. The store is 0700/0600 and outside the sandbox’s view, but there’s no encryption at rest, and with the process runner a service running as the node’s user can read it. The fallback to the node’s own environment passes host values for granted names (the summary shows when that happens, e.g. HOME). push doesn’t scan trees for secrets files (real packages ship .env.test).
  • Swaps are TCP-level. The proxy moves new connections; keep-alive connections stay on the old release until it is stopped after --drain (SIGTERM, then SIGKILL after --grace). With the process runner, services outlive a crashed daemon unless it runs under systemd (examples/systemd sets KillMode=control-group).
  • Materialize is O(files) until a release can be recycled. The daemon recycles releases that are neither running nor saved as a service’s current or previous release (from about the fourth deploy on a node); cold starts, run, and a release a service modified after it started relink every file. Releases and objects are never garbage-collected.
  • Native libraries: diaporos bundle ships everything except the C library, so a bundled tree still needs a host glibc (or musl) at least as new as the build’s, with all its parts (busybox:glibc lacks libdl; the host libs line lists what’s used). Libraries opened with dlopen by a name computed at runtime aren’t seen. On macOS, binaries with the hardened runtime ignore DYLD_LIBRARY_PATH.
  • Imported images run as processes, not containers. Until the sandbox has mount namespaces, an imported service sees the host’s /etc (users, DNS, CA certificates unless its env points inside the release), runs as the node’s user rather than the image’s User, and child processes it starts by absolute path (/bin/sh) use the host’s programs. Programs it runs from the release go through the host’s loader, so process.execPath in Node is the image’s loader. Commands that need a shell (pipes, &&) must be replaced with --exec. On a case-insensitive filesystem (macOS), paths that differ only by case are merged (the import says so).
  • Signing is opt-in per node and keys are files: no expiry, no key rotation beyond editing trust files, no hardware or KMS keys. Signatures cover releases, not the fleet file or deploy commands (an API token still deploys any signed release).

↑↓ to move ↵ to open