Single-server baseline
Independently scaled topology
lingxigraph.json and graph versions.
Release order
1
Build and validate
Build an immutable image; run tests, SBOM generation, dependency/image scans, signing, and
lingxigraph doctor.2
Migrate
Run
lingxigraph migrate as a separate job. Migrations must remain compatible with currently running API/worker versions.3
Roll out
Deploy workers first and Agent Server second. Keep an old graph version until no run remains pinned to it.
4
Canary
Create a canary run and verify state, event sequence, checkpoints, and traces.
Kubernetes
The Helm chart is indeploy/helm/lingxigraph:
Data and recovery
- Enable TLS, encrypted backup, PITR, and high availability for PostgreSQL.
- Redis contains no unique business state and can be rebuilt empty.
- Back up the
lingxigraphschema and migration version table. - Regularly test worker termination, Redis restart, brief database loss, and checkpoint recovery.
- After fixing a dead letter, call
POST /v1/runs/{id}/redrive; never use redrive to provide new input.