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 131870b1 parent 2bf290515 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
20 Layer.provideMerge(ProjectLayer),20 Layer.provideMerge(ProjectLayer),
21 Layer.provideMerge(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))),21 Layer.provideMerge(WorkspaceEntriesLive.pipe(Layer.provide(WorkspacePathsLive))),
22 Layer.provideMerge(WorkspacePathsLive),22 Layer.provideMerge(WorkspacePathsLive),
23 Layer.provideMerge(GitVcsDriver.layer.pipe(Layer.provide(VcsProcess.layer))),23 Layer.provideMerge(GitVcsDriver.vcsLayer.pipe(Layer.provide(VcsProcess.layer))),
24 Layer.provide(24 Layer.provide(
25 ServerConfig.layerTest(process.cwd(), {25 ServerConfig.layerTest(process.cwd(), {
26 prefix: "t3-workspace-files-test-",26 prefix: "t3-workspace-files-test-",

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t