# Testing signals — effect-ts/effect

> Canonical page: https://codevetter.com/unpack/effect/testing-signals

# Testing signals — effect-ts/effect

Scanned commit 6389d9ac64c0f62ccc8b575fb9afc65fc104e814 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

Tests and CI were inspected, not executed; no passing result or coverage measurement is asserted. The repository separates Vitest runtime tests, Tstyche compiler contracts, and generated documentation tests. Representative tests exercise lifecycle ordering, HTTP contracts, provider request mapping, and SQLite storage/transactions. Runtime conditions and explicit integration flags limit which tests a particular invocation includes, and the inspected inventory is not exhaustive coverage.
- Vitest discovers package test/**/*.test.{ts,tsx}, uses shared setup and concurrent sequencing, and offers V8 HTML coverage. @effect/vitest re-exports Vitest and adds effectful/property-test contracts with interruption-aware timeouts. — [vitest.config.ts#L69-L82](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/vitest.config.ts#L69-L82) [packages/vitest/src/index.ts#L13-L19](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/vitest/src/index.ts#L13-L19) [packages/vitest/src/index.ts#L77-L91](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/vitest/src/index.ts#L77-L91)
- ManagedRuntime.test.ts asserts build memoization, Context provision, shared MemoMap reuse, await-using cleanup, interruption on disposal, request-before-resource cleanup ordering, and finalizer completion under interrupted disposal. — [packages/effect/test/ManagedRuntime.test.ts#L5-L72](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/effect/test/ManagedRuntime.test.ts#L5-L72) [packages/effect/test/ManagedRuntime.test.ts#L74-L164](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/effect/test/ManagedRuntime.test.ts#L74-L164)
- The Node HTTP API tests construct real test-server layers and generated clients, checking catch-all routing and middleware error encoding on both server and client boundaries. — [packages/platform/node/test/HttpApi.test.ts#L70-L100](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/platform/node/test/HttpApi.test.ts#L70-L100) [packages/platform/node/test/HttpApi.test.ts#L103-L144](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/platform/node/test/HttpApi.test.ts#L103-L144)
- SQLite KeyValueStore tests reuse a serialized suite for default and custom tables, covering overwrite/size, binary representation, UTF-8 strings, removal, and clear. Client tests separately cover rollback, deferred-commit recovery, busy-timeout configuration, contention, and readonly transactions. — [packages/sql/sqlite-node/test/KeyValueStore.test.ts#L8-L29](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/sql/sqlite-node/test/KeyValueStore.test.ts#L8-L29) [packages/effect/test/persistence/KeyValueStoreTest.ts#L7-L86](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/effect/test/persistence/KeyValueStoreTest.ts#L7-L86) [packages/sql/sqlite-node/test/Client.test.ts#L117-L134](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/sql/sqlite-node/test/Client.test.ts#L117-L134) [packages/sql/sqlite-node/test/Client.test.ts#L207-L293](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/sql/sqlite-node/test/Client.test.ts#L207-L293)
- Inspected OpenAiClient tests assert Bearer headers, default/custom URLs, organization/project headers, and transform ordering using captured requests and synthetic responses; those assertions do not establish live-provider compatibility. — [packages/ai/openai/test/OpenAiClient.test.ts#L18-L137](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/ai/openai/test/OpenAiClient.test.ts#L18-L137) [packages/ai/openai/test/OpenAiClient.test.ts#L1146-L1182](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/ai/openai/test/OpenAiClient.test.ts#L1146-L1182)
- Tstyche discovers .tst files in package typetest trees and includes Effect.isEffect narrowing assertions. Documentation tests use @effect/doctest/Plugin with includeSource covering top-level and nested package source. — [tstyche.json#L1-L8](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/tstyche.json#L1-L8) [packages/effect/typetest/Effect.tst.ts#L82-L87](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/packages/effect/typetest/Effect.tst.ts#L82-L87) [vitest.docs.ts#L1-L16](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/vitest.docs.ts#L1-L16)
- Inspected Check CI enables EFFECT_INTEGRATION_TESTS=1 and defines Node, Deno, and Bun test commands; separate jobs run lint/circular/document-generation checks, TypeScript/Deno/Tstyche checks, distribution builds, and documentation tests. These definitions were not executed in this investigation. — [.github/workflows/check.yml#L26-L38](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/.github/workflows/check.yml#L26-L38) [.github/workflows/check.yml#L50-L74](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/.github/workflows/check.yml#L50-L74) [.github/workflows/check.yml#L112-L157](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/.github/workflows/check.yml#L112-L157) [.github/workflows/check.yml#L159-L170](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/.github/workflows/check.yml#L159-L170)
- Ordinary runs exclude integration tests unless EFFECT_INTEGRATION_TESTS=1; cluster integration additionally requires Node and EFFECT_CLUSTER_TESTS=1 and has a manual workflow. Bun excludes named core HTTP/schema/reactivity tests, and platform projects depend on the detected runtime. — [vitest.config.ts#L5-L12](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/vitest.config.ts#L5-L12) [vitest.config.ts#L41-L54](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/vitest.config.ts#L41-L54) [vitest.config.ts#L90-L106](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/vitest.config.ts#L90-L106) [vitest.config.ts#L148-L173](https://github.com/effect-ts/effect/blob/6389d9ac64c0f62ccc8b575fb9afc65fc104e814/vitest.config.ts#L148-L173)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
