refactor(core): make Config.Info canonical Effect Schema (#23716)

This commit is contained in:
Kit Langton 2026-04-21 14:06:47 -04:00 committed by GitHub
commit ecc06a3d8f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 36 additions and 27 deletions

View file

@ -168,7 +168,7 @@ function layer(result: "continue" | "compact") {
}
function cfg(compaction?: Config.Info["compaction"]) {
const base = Config.Info.parse({})
const base = Config.Info.zod.parse({})
return Layer.mock(Config.Service)({
get: () => Effect.succeed({ ...base, compaction }),
})