fix(sdk): wake embedded session execution (#33992)

This commit is contained in:
Kit Langton
2026-06-26 05:04:14 +02:00
committed by GitHub
parent a1f093a748
commit 40ecfceec2
9 changed files with 53 additions and 19 deletions
@@ -613,8 +613,7 @@ describe("session.compaction.create", () => {
})
const v2 = yield* SessionV2.Service.use((svc) => svc.messages({ sessionID: info.id })).pipe(
Effect.provide(SessionExecution.noopLayer),
Effect.provide(SessionV2.defaultLayer),
Effect.provide(SessionV2.defaultLayer.pipe(Layer.provide(SessionExecution.noopLayer))),
)
expect(v2.at(-1)).toMatchObject({
type: "compaction",