GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(upstream-fixes): fork ingestor tests provide upstream's GitVcsDr… · RSI-Software/t3code-hyprws@2a7f5dc

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • apps/server/src
    • orchestration-v2
      • ProviderSessionManager.fork.test.ts
      • RunExecutionService.ownerFence.fork.test.ts
      • RunExecutionService.transfer.fork.test.ts
    • zmux
      • CheckoutSessionStateLease.fork.test.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎apps/server/src/orchestration-v2/ProviderSessionManager.fork.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/ProviderSessionManager.fork.test.ts
+8Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ import * as ServerEnvironment from "../environment/ServerEnvironment.ts";
4545
import * as McpProviderSessions from "@t3tools/provider-core/server/McpProviderSessions";
4646
import * as McpSessionRegistry from "../mcp/McpSessionRegistry.ts";
4747
import * as SqlitePersistence from "../persistence/Sqlite.ts";
48+
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
4849
import * as ServerSettings from "../serverSettings.ts";
4950
import { CodexProviderCapabilitiesV2 } from "./Adapters/CodexAdapterV2.ts";
51+
import * as CommandOutputHub from "./CommandOutputHub.ts";
5052
import * as EventSink from "./EventSink.ts";
5153
import * as EventStore from "./EventStore.ts";
5254
import * as IdAllocator from "@t3tools/provider-core/server/IdAllocator";
@@ -255,6 +257,9 @@ const layerTest = (input: {
255257
IdAllocator.layer,
256258
layerTestStores,
257259
ThreadCommandExecutor.layer,
260+
Layer.mock(GitVcsDriver.GitVcsDriver)({
261+
resolveBranchName: () => Effect.succeed(null),
262+
}),
258263
),
259264
),
260265
);
@@ -270,6 +275,9 @@ const layerTest = (input: {
270275
ProviderAdapterRegistry.layerFromAdapters([adapter]).pipe(
271276
Layer.provideMerge(McpProviderSessions.layer),
272277
),
278+
CommandOutputHub.layer.pipe(
279+
Layer.provide(Layer.merge(layerConfiguredEventSink, layerTestStores)),
280+
),
273281
layerConfiguredEventSink,
274282
IdAllocator.layer,
275283
layerProviderEventIngestorTest,
Collapse file

‎apps/server/src/orchestration-v2/RunExecutionService.ownerFence.fork.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/RunExecutionService.ownerFence.fork.test.ts
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import * as Ref from "effect/Ref";
3232
import * as Stream from "effect/Stream";
3333

3434
import * as SqlitePersistence from "../persistence/Sqlite.ts";
35+
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
3536
import * as McpAppModelContext from "../mcpApps/McpAppModelContext.ts";
3637
import * as ServerSettings from "../serverSettings.ts";
3738
import * as CheckpointService from "./CheckpointService.ts";
@@ -347,6 +348,9 @@ function fixture(gate: "snapshot" | "cascade" | "nested" | "model") {
347348
ingestionProjections,
348349
IdAllocator.layer,
349350
ThreadCommandExecutor.layer,
351+
Layer.mock(GitVcsDriver.GitVcsDriver)({
352+
resolveBranchName: () => Effect.succeed(null),
353+
}),
350354
),
351355
),
352356
);
Collapse file

‎apps/server/src/orchestration-v2/RunExecutionService.transfer.fork.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/orchestration-v2/RunExecutionService.transfer.fork.test.ts
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ import type {
4242
} from "@t3tools/provider-core/server/ProviderAdapter";
4343
import * as ProjectionStore from "./ProjectionStore.ts";
4444
import * as ProviderEventIngestor from "./ProviderEventIngestor.ts";
45+
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
4546
import * as RunExecutionService from "./RunExecutionService.ts";
4647
import * as ThreadCommandExecutor from "./ThreadCommandExecutor.ts";
4748

@@ -284,6 +285,9 @@ function twoSubscriptions(
284285
Effect.succeed({ nodes: [], turnItems: [], runtimeRequests: [] }),
285286
}),
286287
Layer.mock(ThreadCommandExecutor.ThreadCommandExecutor)({}),
288+
Layer.mock(GitVcsDriver.GitVcsDriver)({
289+
resolveBranchName: () => Effect.succeed(null),
290+
}),
287291
),
288292
),
289293
);
Collapse file

‎apps/server/src/zmux/CheckoutSessionStateLease.fork.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/zmux/CheckoutSessionStateLease.fork.test.ts
+7-1Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import * as ProjectStore from "../orchestration-v2/ProjectStore.ts";
2626
import * as ProviderEventIngestor from "../orchestration-v2/ProviderEventIngestor.ts";
2727
import * as ThreadCommandExecutor from "../orchestration-v2/ThreadCommandExecutor.ts";
2828
import * as SqlitePersistence from "../persistence/Sqlite.ts";
29+
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
2930
import * as ProjectEnrichment from "../project/ProjectEnrichmentService.ts";
3031
import * as ProjectService from "../project/ProjectService.ts";
3132
import * as ServerSettings from "../serverSettings.ts";
@@ -62,7 +63,12 @@ const dependencies = Layer.merge(core, LegacyImporter.layer.pipe(Layer.provide(c
6263
const testLayer = Layer.mergeAll(
6364
dependencies,
6465
ProjectService.layer.pipe(Layer.provide(dependencies)),
65-
ProviderEventIngestor.layer.pipe(Layer.provide(dependencies)),
66+
ProviderEventIngestor.layer.pipe(
67+
Layer.provide(dependencies),
68+
Layer.provide(
69+
Layer.mock(GitVcsDriver.GitVcsDriver)({ resolveBranchName: () => Effect.succeed(null) }),
70+
),
71+
),
6672
);
6773

6874
it.effect("ordinary mutations remain concurrent; pending cleanup excludes later mutations", () =>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.