Wrap orchestration reactor starts in Effect.fn#1513
Merged
juliusmarminge merged 4 commits intomainfrom Mar 29, 2026
Merged
Conversation
- Convert reactor start handlers to callable effects - Update orchestration tests and harness call sites - Refresh effect-fn checklist documentation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
8 tasks
Chrono-byte
pushed a commit
to Chrono-byte/t3code
that referenced
this pull request
Mar 31, 2026
xddinside
pushed a commit
to xddinside/t3code
that referenced
this pull request
Apr 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
Why
UI Changes
Checklist
Note
Medium Risk
Changes the public service API for multiple orchestration reactors from an
Effectvalue to astart()function, so any missed call site will fail at runtime/compile time. Also touches event-stream processing wiring inProviderCommandReactor, which could subtly affect which events get enqueued if the filter logic is wrong.Overview
Reworks orchestration reactor startup to use named, callable effects. The
startfield forOrchestrationReactor,CheckpointReactor,ProviderCommandReactor, andProviderRuntimeIngestionis changed from anEffectvalue to astart()function implemented viaEffect.fn("start"), and all call sites/tests/harnesses are updated to invokestart()(e.g.wsServer, integration harness, and layer tests).Internally,
ProviderRuntimeIngestionwraps several generator helpers inEffect.fnfor naming/stack traces and adjusts its layer construction to passmake();ProviderCommandReactorrefactors its stream handler to a named callback and switches event filtering to an explicit allow-list before enqueueing. Theeffect-fn-checklistdoc is updated to markProviderRuntimeIngestionitems complete.Written by Cursor Bugbot for commit 0c323ad. This will update automatically on new commits. Configure here.
Note
Wrap orchestration reactor
startfields inEffect.fnnamed functionsstartfrom anEffectvalue to a callable function (start()) across all orchestration reactor service interfaces and implementations:CheckpointReactor,OrchestrationReactor,ProviderCommandReactor, andProviderRuntimeIngestion.reactor.start()instead of piping the effect value directly.ProviderRuntimeIngestionwith namedEffect.fncallbacks; logic is preserved.ProviderCommandReactor's event filtering from negative (skip non-target types) to positive (explicitly match allowed types).startmust now be called as a function; any call site that pipesreactor.startas an effect value directly will break.Macroscope summarized 0c323ad.