Expand description
Caller identity resolution and scoped-engine selection. Namespace resolver type wired into shared state.
Workflow→namespace ownership is a projection of durable history: the server
records the owning namespace as the aion.namespace search attribute when a
workflow starts, and verification folds that attribute back out of the
workflow’s recorded events. Nothing about ownership lives only in memory, so
a server restart can never orphan a workflow from its namespace.
Structs§
- Caller
Identity - Authenticated caller metadata supplied by an adapter boundary.
- Namespace
Resolver - Resolver that authorizes callers and yields namespace-scoped engine access.
- Scoped
Engine - Namespace-scoped access to the embedded engine.
- Static
Workflow Namespaces - Static workflow→namespace fixture for adapter-boundary tests and alternate wiring that must authorize without an engine handle.
- Workflow
Attribution - Durable per-workflow attribution facts projected from recorded history.
Constants§
- NAMESPACE_
ATTRIBUTE - Search attribute name that records the owning namespace of every workflow started through this server.
- TASK_
QUEUE_ ATTRIBUTE - Search attribute name that records the default task queue a workflow was
started against (the namespace ×
task_queuetargeting story). Recorded durably in the same atomic append asWorkflowStarted, mirroringNAMESPACE_ATTRIBUTE, so the start-time queue selection survives replay and failover. Absent when the start did not select a task queue (the workflow falls back to the namespace’s default queue).
Traits§
- Workflow
Namespace Source - Durable source of workflow→namespace ownership and type attribution facts.