Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): dismiss orphaned provider questions #10586

Closedyashranaway(GitHub profile, opens in a new tab)wants to merge 3 commits intomain fromrefs/pull/10586/headopened View on GitHub

Showing 4 changed files with 175 additions and 5 deletions (loading 2).

x
0 of 4 viewed, 4 left
133 additions and 4 deletionsapps/server/src/orchestration/Layers/ProviderCommandReactor.test.tsModified
View file
@@ -28,6 +28,7 @@
import * as Effect from "effect/Effect";
import * as Deferred from "effect/Deferred";
import * as Exit from "effect/Exit";
+import * as Fiber from "effect/Fiber";
import * as Layer from "effect/Layer";
import * as ManagedRuntime from "effect/ManagedRuntime";
import * as Option from "effect/Option";
@@ -47,7 +48,10 @@
} from "../../provider/Errors.ts";
import { OrchestrationEventStoreLive } from "../../persistence/Layers/OrchestrationEventStore.ts";
import { OrchestrationCommandReceiptRepositoryLive } from "../../persistence/Layers/OrchestrationCommandReceipts.ts";
-import { SqlitePersistenceMemory } from "../../persistence/Layers/Sqlite.ts";
+import {
+ makeSqlitePersistenceLive,
+ SqlitePersistenceMemory,
+} from "../../persistence/Layers/Sqlite.ts";
import {
ProviderService,
type ProviderServiceShape,
@@ -169,6 +173,7 @@
​
async function createHarness(input?: {
readonly baseDir?: string;
+ readonly databasePath?: string;
readonly initialTitle?: string;
readonly deferReactorStart?: boolean;
readonly threadModelSelection?: ModelSelection;