Skip to content

Commit bc5a7df

Browse files
PR Batch Testerclaude
andcommitted
fix(server): skip-unknown-event tests use the event store's exported binding
The two new skip-unknown-event-types tests yielded the bare OrchestrationEventStore import instead of its namespaced service tag, which this file's other tests already use. Both compiled but resolved the wrong value at runtime. Co-Authored-By: Claude Sonnet 5 <[email protected]>
1 parent e28030a commit bc5a7df

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/server/src/persistence/Layers/OrchestrationEventStore.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ layer("OrchestrationEventStore", (it) => {
395395

396396
it.effect("readAgentEvents with skipUnknownEventTypes drops rows of an unknown event type", () =>
397397
Effect.gen(function* () {
398-
const store = yield* OrchestrationEventStore;
398+
const store = yield* OrchestrationEventStore.OrchestrationEventStore;
399399
const sql = yield* SqlClient.SqlClient;
400400
const threadId = ThreadId.make("thread:skip-unknown");
401401
const baseline = yield* store.latestApplicationSequence;
@@ -468,7 +468,7 @@ layer("OrchestrationEventStore", (it) => {
468468
"readAgentEvents with skipUnknownEventTypes still fails a known type with a broken payload",
469469
() =>
470470
Effect.gen(function* () {
471-
const store = yield* OrchestrationEventStore;
471+
const store = yield* OrchestrationEventStore.OrchestrationEventStore;
472472
const sql = yield* SqlClient.SqlClient;
473473
const threadId = ThreadId.make("thread:skip-unknown-broken-known");
474474
const baseline = yield* store.latestApplicationSequence;

0 commit comments

Comments
 (0)