Replace systemIOActor with queued systemIOService - #12402
Draft
franknoirot wants to merge 9 commits into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jul 23, 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.
Summary
This draft replaces
systemIOActoras a public app subsystem with a registry-backed queuedsystemIOService, then moves the remaining project/session ownership to callers that already own those effects.systemIOActorwith a queued service for filesystem requests, shallow local project indexing, status signals, coalescing, and per-resource serialization.HomeProjectEntrycontributions instead of a recursively scanned globalProject[].Projecttree loading to the opened project and Project Explorer refreshes.Why
The current actor was carrying too many responsibilities: filesystem effects, cached project lists, navigation requests, watcher policy, and session state. This splits those concerns so filesystem work can be queued/coalesced independently while route/session code owns route effects and opened-project state.
This is intended to address the concurrency and simplification goals from #12350, and to prepare the route-loader cleanup needed by #12082.
Coordination
Expected to supersede, pending review:
#12082 will likely need to be rebased onto this branch once the shape is accepted.
Validation
npm run lintnpm run tscnpx vitest run --mode=development src/lib/systemIOService.test.ts src/components/layout/areas/ProjectExplorerPane.test.ts src/lib/commandBarConfigs/projectsCommandConfig.spec.ts src/lib/routeLoaderUtils.test.ts src/components/layout/areas/MlEphantConversationPaneWrapper.spec.tsxsystemIOActor,SystemIOActor,SystemIOMachineLogicListener,waitForIdleState,readFoldersFromProjectDirectory, and related legacy exports