solari-fleet
v0.1.1
Published
Durable orchestration for Solari browsers, sandboxes, and desktops
Maintainers
Readme
solari-fleet
Durable job orchestration, cost guardrails, and crash-safe resource cleanup for Solari browsers, sandboxes, and desktops.
pnpm add solari-fleet pgFleet is an ESM-only, strict TypeScript library for Node.js 22+ backed by PostgreSQL. It adds atomic at-least-once delivery, heterogeneous worker routing, retries with jittered backoff, runtime budgets, intent-first resource leases, live reconciliation, structured logs, and evidence artifacts on top of the Solari SDK.
import { randomUUID } from "node:crypto"
import { Pool } from "pg"
import { PgJobQueue, WorkerRuntime } from "solari-fleet"
const queue = new PgJobQueue(new Pool({ connectionString: process.env.DATABASE_URL }))
const worker = new WorkerRuntime(queue, {
workerId: randomUUID(), concurrency: 4,
handlers: { "catalog.sync": async ({ job }) => ({ output: { input: job.input } }) },
})
await worker.run()Initialize and diagnose a deployment with the included CLI:
fleet migrate
fleet doctorFleet deliberately reports browser cleanup as release_unconfirmed: the Solari browser API cannot independently confirm release after close. VM reconciliation uses metadata-filtered list() and never relies on provider idempotency keys or GET calls for correctness.
MIT licensed. Fleet is an independent open-source orchestration layer built on the official Solari SDKs.
