Skip to content

Orcaster v2.0.0: server, worker and CLI

Choose a tag to compare

@github-actions github-actions released this 25 Nov 17:49
· 9 commits to main since this release

Orcaster 2.0.0 is one release of three components that share the version
2.0.0. Each asset name says which component it belongs to. Verify any
download against orcaster-2.0.0-checksums.txt, or with
gh attestation verify <file> -R AInvirion/orcaster.

Server

The FastAPI server: task queue in PostgreSQL, task signing, web interface, JSON
API and the worker endpoint.

Asset What it is
orcaster-server-2.0.0.tar.gz Source bundle (orcaster/ tree with a RELEASE manifest) that the Debian 13 installer runs from

Install on Debian 13, as root:

sha256sum --ignore-missing -c orcaster-2.0.0-checksums.txt
tar -xzf orcaster-server-2.0.0.tar.gz -C /root
chown -R root:root /root/orcaster && chmod -R go-w /root/orcaster
cd /root/orcaster/setup-scripts/debian13
install -m 600 -o root -g root setup.env.example setup.env
$EDITOR setup.env        # set DOMAIN and ADMIN_EMAIL; leave DB_PASSWORD empty
sudo bash run-all.sh

Upgrade: from a checkout of the repository at the tag, run
setup-scripts/debian13/deploy.sh --ref v2.0.0, or extract the bundle and
run setup-scripts/debian13/deploy.sh --source <extracted orcaster/ directory>.
See setup-scripts/debian13/README.md.

Worker

The Python worker that runs tasks in a rootless Podman container.

Asset What it is
orcaster-worker-2.0.0.tar.gz Deploy bundle that ops/release/install-release.sh installs on a worker host (same tree as the server bundle)
orcaster_worker-2.0.0-py3-none-any.whl Python wheel of the worker (pip install name: orcaster-worker)

Install or upgrade a worker host, as root:

grep ' orcaster-worker-2.0.0.tar.gz$' orcaster-2.0.0-checksums.txt > orcaster-worker-2.0.0.tar.gz.sha256
tar -xzf orcaster-worker-2.0.0.tar.gz orcaster/ops/release/install-release.sh
sudo bash orcaster/ops/release/install-release.sh --tarball orcaster-worker-2.0.0.tar.gz

On a new host add --no-restart and continue with
setup-scripts/debian13-worker/README.md. The worker image is built on the
host from the installed tree.

CLI

orcaster, the command-line client.

Asset What it is
orcaster-cli-2.0.0-<os>-<arch>.tar.gz Binary for Linux, macOS and FreeBSD (.zip for Windows), with LICENSE, NOTICE, THIRD_PARTY and README.md
orcaster-cli-2.0.0-<os>-<arch>.<ext>.sbom.json SPDX SBOM of each archive

Platforms: linux, darwin and windows on amd64 and arm64; freebsd on amd64.

sha256sum --ignore-missing -c orcaster-2.0.0-checksums.txt
tar -xzf orcaster-cli-2.0.0-linux-amd64.tar.gz orcaster
sudo install orcaster /usr/local/bin/

Or go install github.com/AInvirion/orcaster/orcaster@v2.0.0.

Changes

First public release.

Changed

  • BREAKING: release assets are renamed by component: the CLI archives are
    orcaster-cli-<version>-<os>-<arch> (they were
    orcaster_<version>_<os>_<arch>), and orcaster-<version>-checksums.txt
    replaces checksums.txt. Each release also carries the server bundle
    (orcaster-server-<version>.tar.gz), the worker bundle
    (orcaster-worker-<version>.tar.gz) and the worker wheel
    (orcaster_worker-<version>-py3-none-any.whl), and its notes have one
    section per component. See docs/releasing.md.
  • BREAKING: every setting, path, system user, container, volume, network
    and systemd unit uses the orcaster name (worker settings are
    ORCH_ORCASTER_*; the CLI reads ~/.config/orcaster, ORCASTER_HOST and
    ORCASTER_TOKEN), and personal access tokens use the orcaster_pat_ prefix.
    No other names are read, and a token with any other prefix is rejected with
    401.
  • The CLI, worker and server now report unsupported legacy configuration
    names and token prefixes instead of ignoring them silently: the CLI prints a
    warning, the worker logs a warning that names the replacement setting, and
    the server's 401 says the token prefix is no longer accepted and a new
    token must be minted.
  • Deploy: run-fleet.sh and install-release.sh no longer pass WORKER_ENV
    and WORKER_PUBKEY to make up client. They pass CONFIG_DIR and
    ETC_SETUP_ENV_FILE, and the Makefile resolves $CONFIG_DIR/env[.N] and
    $CONFIG_DIR/server-ed25519.pub, which makes it the single definition of
    those paths. An older Makefile without that resolution (a rollback with
    --ref) still receives both overrides, and an explicit WORKER_ENV= /
    WORKER_PUBKEY= from the operator still wins. The resolved files are the
    same, so there is no deploy step.
  • The server refuses to start when ARTIFACTS_ROOT cannot be created or is
    not writable, with an error naming the path; it used to log a warning and
    start without it.
  • The documentation describes the public project; the README links the user
    manual and the component guides.
  • Deploy: setup-scripts/debian13/deploy.sh no longer sends docs/ or llms.txt to the server; they are removed from the extracted tree and the --delete of both rsync calls removes them from the host. This is a deploy tooling change.

Removed

  • make release-orcaster: use make release-dry-run; releases are published
    only by the tag workflow.

Fixed

  • make snapshot-orcaster and make build-orcaster no longer take the Go
    module tag orcaster/vX.Y.Z as the version.
  • A signed-in member who opens an owner-only dashboard page sees an
    Access denied page (403) instead of being redirected to sign-in; htmx
    requests get a plain 403 without HX-Redirect. Only a missing or expired
    session redirects to sign-in (#15).
  • The worker's enrollment error no longer calls enrollment tokens single use.
  • Code examples in the worker and CLI guides use the current task payload
    format.

Security

  • Worker control from the dashboard (pause, resume, clear cache, delete, push
    command and control operation) is owner-only. A member gets 403, and the
    workers deck and worker page no longer show those controls to members (#13).