GitHubReconciler class
Polls one repository for one substation and emits normalized observations.
This in-process implementation is transport-neutral at its output and owns no bead projection. Trust/intake and feedback/landing remain sibling-owned; a webhook transport can later feed the same normalized event seam.
Constructors
-
GitHubReconciler({required String owner, required String repository, required String substation, required GitHubAppClient client, required GitHubCursorStore cursors, required GitHubEventSink emit, String defaultBranch = 'main', List<
WorkflowRunIntakeRule> workflowRuns = const <WorkflowRunIntakeRule>[], List<GitHubIssueWatch> issueWatches = const <GitHubIssueWatch>[], GitHubReadClient? foreignClient, void onIntakeRowError(Object error, StackTrace stackTrace)?, GitHubPullFeedbackErrorReporter? onPullFeedbackError, DateTime now()?}) - Creates a per-seat reconciler.
Properties
- defaultBranch → String
-
The repository's default branch — what a rule that declares no branches
resolves to.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
issueWatches
→ List<
GitHubIssueWatch> -
The seat's declared OUTBOUND issue watches, in authoritative order.
final
- owner → String
-
Repository owner.
final
- repository → String
-
Repository name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- substation → String
-
Bound substation name.
final
-
workflowRuns
→ List<
WorkflowRunIntakeRule> -
The seat's declared workflow-run rules, in authoritative order.
final
Methods
-
addObserver(
String leg, GitHubEventSink observer) → void -
Adds a sibling projection to the normalized event seam under
leg. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reconcileForeignIssueWatchesOnce(
) → Future< void> - Runs the FOREIGN issue-watch leg on its own, touching no App client.
-
reconcileOnce(
) → Future< void> - Runs one coalesced intake-then-feedback reconciliation.
-
removeObserver(
String leg) → void -
Removes the observer registered under
leg. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited