@usine/orchestrator/runtime
Variables
Section titled “Variables”operatorObservationLayer
Section titled “operatorObservationLayer”
constoperatorObservationLayer: (instanceDirectory) =>Layer.Layer<OperatorObservation,AttemptCancellationError|EnginePersistenceError|RunInterventionRejectedError|RunNotFoundError|RunOperationRejectedError,never>
A read-only operator composition for when trigger credentials are not available yet.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instanceDirectory |
InstanceDirectory |
Returns
Section titled “Returns”Layer.Layer<OperatorObservation, AttemptCancellationError | EnginePersistenceError | RunInterventionRejectedError | RunNotFoundError | RunOperationRejectedError, never>
runtimeLayer
Section titled “runtimeLayer”
construntimeLayer: (instanceDirectory,instance) =>Layer.Layer<ConfigParser|CursorStore|CycleBudgets|ExpressionEngine|GitHubItemWriter|GitHubPolling|ItemProjectionReader|ItemProjectionWriter|LabelReconciler|LoopControl|Operator|Orchestrator|PollingTriggers|RepositoryLabelProjectionReader|RepositoryLabelProjectionWriter|RunEngine|RunReader|ScheduleTriggers,AppAuthenticationError|AttemptCancellationError|CredentialUnavailableError|DurableHarnessError|EnginePersistenceError|ExecutorOperationError|RunInterventionRejectedError|RunNotFoundError|RunOperationRejectedError|UnsupportedWorkerError|WorkerCapabilityError,GitHubCredentials>
The full Node composition for one loaded factory: both trigger streams, the
durable engine, Worker execution with each Attempt’s Pi parent on the
instance’s durable storage, and the operator surface. The Worker kind in
usine.yaml selects the executor. The caller supplies the GitHub credentials.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
instanceDirectory |
InstanceDirectory |
instance |
LoadedInstance |
Returns
Section titled “Returns”Layer.Layer<ConfigParser | CursorStore | CycleBudgets | ExpressionEngine | GitHubItemWriter | GitHubPolling | ItemProjectionReader | ItemProjectionWriter | LabelReconciler | LoopControl | Operator | Orchestrator | PollingTriggers | RepositoryLabelProjectionReader | RepositoryLabelProjectionWriter | RunEngine | RunReader | ScheduleTriggers, AppAuthenticationError | AttemptCancellationError | CredentialUnavailableError | DurableHarnessError | EnginePersistenceError | ExecutorOperationError | RunInterventionRejectedError | RunNotFoundError | RunOperationRejectedError | UnsupportedWorkerError | WorkerCapabilityError, GitHubCredentials>