Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add jujutsu (jj) VCS support #1796

Closedgergesh(GitHub profile, opens in a new tab)wants to merge 2 commits intomain fromrefs/pull/1796/headopened View on GitHub

Showing 53 changed files with 109 additions and 13 deletions (loading 51).

x
0 of 53 viewed, 53 left
11 additions and 4 deletionsapps/server/integration/OrchestrationEngineHarness.integration.tsModified
View file
@@ -27,6 +27,8 @@
import { GitCoreLive } from "../src/git/Layers/GitCore.ts";
import { GitCore, type GitCoreShape } from "../src/git/Services/GitCore.ts";
import { TextGeneration, type TextGenerationShape } from "../src/git/Services/TextGeneration.ts";
+import { VcsCore } from "../src/vcs/Services/VcsCore.ts";
+import { VcsCoreFromGitLive } from "../src/vcs/Layers/VcsCore.ts";
import { OrchestrationCommandReceiptRepositoryLive } from "../src/persistence/Layers/OrchestrationCommandReceipts.ts";
import { OrchestrationEventStoreLive } from "../src/persistence/Layers/OrchestrationEventStore.ts";
import { ProjectionCheckpointRepositoryLive } from "../src/persistence/Layers/ProjectionCheckpoints.ts";
@@ -288,7 +290,9 @@
Layer.provide(AnalyticsService.layerTest),
​
- const checkpointStoreLayer = CheckpointStoreLive.pipe(Layer.provide(GitCoreLive));
+ const checkpointStoreLayer = CheckpointStoreLive.pipe(
+ Layer.provide(VcsCoreFromGitLive.pipe(Layer.provide(GitCoreLive))),
+ );
const projectionSnapshotQueryLayer = OrchestrationProjectionSnapshotQueryLive;
const runtimeServicesLayer = Layer.mergeAll(
projectionSnapshotQueryLayer,
@@ -304,10 +308,12 @@
Layer.provideMerge(runtimeServicesLayer),
Layer.provideMerge(serverSettingsLayer),
- const gitCoreLayer = Layer.succeed(GitCore, {
+ const branchRenameLayerValue = {
renameBranch: (input: Parameters<GitCoreShape["renameBranch"]>[0]) =>
Effect.succeed({ branch: input.newBranch }),