Repository navigation
FluentCI 0.17.9 adds built-in coordination for fresh VM runners, bearer-token authentication for API servers, and improvements to remote build caching and CI packaging.
Horizontally scalable VM runners
- Use the same
fluentcibinary for the API, runner registration, and developer commands:cluster serve,join,submit,runners,runs,inspect,cancel, anddoctor. - Run stateless Tokio/Axum API replicas behind one entry point, with configurable etcd or Consul shared state. Runner hosts can join at any time using outbound API connections, without exposing an inbound runner API or receiving state-backend credentials.
- Boot a fresh bsdkrun Linux OCI VM for each job. Submit an image, HTTPS Git repository and revision, guest command, CPU/memory limits, timeout, and scheduling labels. Configure each runner's local concurrency with
--slots. - Coordinate durable jobs through atomic claims, unique ownership tokens, heartbeats, and idempotent submission UUIDs. Inspect shared run status and bounded final logs; cancel queued or running work.
- Remove VMs before publishing results, and retain local cleanup journals for recovery after interrupted runners. Expired claims are reported as lost rather than automatically retried.
Runner images must contain sh, git, and the requested build tools. Include the Linux FluentCI binary to execute fluentci run inside a guest. This release does not provision runner hosts, distribute an individual DAG between machines, or provide live log streaming or artifact storage.
API authentication
fluentci serverandfluentci cluster servegenerate and display an OS-random 256-bit bearer token when no token is configured.- Set
FLUENTCI_SERVER_TOKENfor the standalone API orFLUENTCI_CLUSTER_TOKENfor cluster APIs, runners, and developer commands. A configured token remains stable across restarts and can be shared by API replicas. - Protect API HTTP and WebSocket endpoints with constant-time bearer-token checks. Missing or invalid credentials receive HTTP 401; invalid configured secrets are rejected at startup.
Upgrade note: standalone API clients now need Authorization: Bearer <token>. Configure a stable token for supervised servers and cluster API replicas; generated tokens change on restart. The separate local fluentci studio flow remains available for browser development.
Remote cache and registry
- Add readable DID and handle cache URLs and canonical owner-DID namespaces while preserving legacy hash URL and token compatibility.
- Provide an incremental DID-key migration helper that preserves source artifacts and token revocation markers. Self-hosted cache operators should follow the migration guide when upgrading stored namespaces.
- Add SQLite-backed cache key search and protocol usage charts; improve listing indexes, cached Nix output restoration, and direct CDN reads for public Nix and generic HTTP artifacts.
- Improve upload handling with two-hour upload support, transient-failure retries, and draining of duplicate uploads before reporting success.
- Restrict registry Jetstream persistence to FluentCI activity, improve author indexing, and preserve inactive-publisher data during cleanup.
The cache service and hosted API/UI are separate deployments from the CLI; their changes require updating those services.
SDKs, CI, and documentation
- Correct PureScript metadata inspection for parenthesized record return types.
- Integrate FluentCI caching into CLI, desktop, and Nix release workflows; improve signed Nix artifact publication and BSD/macOS build handling.
- Add cluster setup and architecture documentation, complete cluster CLI argument help, and fix Markdown formatting and Mermaid sequence-diagram syntax.
Release builds
Platform binaries and desktop assets are built and uploaded by GitHub Actions after publication. The release workflows bootstrap with the previously published FluentCI v0.17.8.