History

Split git VCS driver from core service

- Introduce a dedicated `GitVcsDriver` service and `vcsLayer` - Update server, orchestration, and workspace wiring to use the new layer - Adjust tests and mocks for the new git-specific dependency

Julius Marminge committed 6 months ago

Commit 82a83941 parent 0ce293b15 files · +97 −87Browse files

Showing the changes to apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts (1 of 15 files). Show all

Unified · Split

apps/server/src/workspace/Layers/WorkspaceFileSystem.test.ts+1−1
@@ -20,7 +20,7 @@ const TestLayer = Layer.empty.pipe( · 19 unmodified lines
2020 Layer.provideMerge(ProjectLayer),
2121 Layer.provideMerge(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))),
2222 Layer.provideMerge(WorkspacePathsLive),
23− Layer.provideMerge(GitVcsDriver.layer.pipe(Layer.provide(VcsProcess.layer))),
23+ Layer.provideMerge(GitVcsDriver.vcsLayer.pipe(Layer.provide(VcsProcess.layer))),
2424 Layer.provide(
2525 ServerConfig.layerTest(process.cwd(), {
2626 prefix: "t3-workspace-files-test-",