@usine/orchestrator/label-reconciler
Classes
Section titled “Classes”LabelPreflightFinding
Section titled “LabelPreflightFinding”Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new LabelPreflightFinding(…
args):LabelPreflightFinding
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”errorTag
Section titled “errorTag”
readonlyerrorTag:string
readonlylabel:string&Brand<"GitHubLabelName">
message
Section titled “message”
readonlymessage:string
repository
Section titled “repository”
readonlyrepository:string&Brand<"RepositoryName">
LabelReconciler
Section titled “LabelReconciler”Creates the labels a factory declares that one repository’s stored catalog lacks.
Extends
Section titled “Extends”Context.ServiceClass
Properties
Section titled “Properties”Service
Section titled “Service”
readonlyService:object
The service’s operations: what yield* LabelReconciler returns.
reconcile
Section titled “reconcile”
readonlyreconcile: (repository,declared,existing) =>Effect.Effect<LabelReconciliation>
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
repository |
RepositoryName |
declared |
ReadonlyArray<DeclaredLabel> |
existing |
ReadonlyArray<RepositoryLabel> |
Returns
Section titled “Returns”Effect.Effect<LabelReconciliation>
readonlystaticlayer:Layer<LabelReconciler,never,GitHubLabelWriter>
Interfaces
Section titled “Interfaces”LabelReconciliation
Section titled “LabelReconciliation”Properties
Section titled “Properties”catalogChanged
Section titled “catalogChanged”
readonlycatalogChanged:boolean
True when a label was created, so the poll cursor must drop its catalog ETag.
findings
Section titled “findings”
readonlyfindings: readonlyLabelPreflightFinding[]
labels
Section titled “labels”
readonlylabels: readonlyRepositoryLabel[]
nextPollAt
Section titled “nextPollAt”
readonlynextPollAt:Option<Utc>
When a creation rate limit asks the next cycle to wait; this cycle’s triggers still run.