refactor(core): convert opencode tests to nodes (#34453)

This commit is contained in:
James Long 2026-06-29 12:56:44 -04:00 committed by GitHub
commit bc5ce5eab1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
36 changed files with 112 additions and 106 deletions

View file

@ -1,6 +1,7 @@
export * as Observability from "./observability"
import { NodeFileSystem } from "@effect/platform-node"
import { LayerNode } from "./effect/layer-node"
import { Effect, Layer, Logger, References } from "effect"
import { FetchHttpClient } from "effect/unstable/http"
import { OtlpSerialization } from "effect/unstable/observability"
@ -19,3 +20,5 @@ export const layer = Layer.unwrap(
return Layer.merge(logs, yield* Effect.promise(Otlp.tracingLayer))
}),
)
export const node = LayerNode.make({ name: "observability", layer, deps: [] })