Repository navigation
Observability and reliability release: thralls now describe themselves, and handlers get a typed let-it-crash and opt-in idempotence.
Highlights
Self-description (what a thrall is, and what build runs)
Every thrall reports a curated self-description on its heartbeat, so "what is this, what build runs here, what last failed" can be answered without an ssh:
- Operations it answers, derived from its handler maps (
call_ops/cast_ops) - nothing is declared, a handler stays a map of functions. - Self-declared version - it lives with the code, so it answers "what actually runs" (a manifest would lie against a wrongly-deployed binary).
- Last error, with a "dying breath" heartbeat carrying the reason on an escalation before the process exits.
Surfaced by a new aether describe <name> (full record, --json), a VERSION column in aether ps, and per-thrall version/error in aether fleet. A [[thrall]] metadata block adds operator-owned deployment tags (site, PLC, criticality), kept out of Prometheus labels by design. Wired across all four runtimes (GenServer/FSM/event/edge) in the Go, TS and Python SDKs, with a shared golden fixture pinning wire parity.
Typed let-it-crash
A handler can trigger a typed crash by returning/throwing Escalate(reason): the SDK terminates the thrall with an abnormal exit so the lord restarts it through init per policy (a call caller gets a distinguishable "escalated" reply), instead of a manual panic/os.Exit. A durable poison cast is acked before the crash, so it is not redelivered into a loop.
Opt-in idempotence for call/cast
An in-memory dedup by idempotency key (or the envelope id): a duplicate cast is skipped and a duplicate call returns the first reply. Opt-in per thrall; it does not survive a restart.
Edge-route validation
An [[edge.http]] route's target is checked at manifest load against the declared thralls (a typo fails aether up loudly), and its operation is validated asynchronously once the target thrall describes itself.
Also
- The secured-bus soak now exercises
[nats.security]under load with credential rotation (surfaced an upstream nats-server reload race, reported as nats-io/nats-server#8499). - README leads with a plain-language "What it's for"; a new USE-CASES.md collects concrete shapes grounded in runnable examples.
Not a breaking change - the heartbeat describe block is optional; older SDKs omit it and liveness is unaffected.