Skip to content

Scope acceptance subprocesses and raw SQLite handles #33

Description

@ian-pascoe

What to build

Manage acceptance subprocesses and raw SQLite connections as scoped resources so failed assertions, interruption, and timeouts reliably terminate children and close databases without masking the original test failure.

Acceptance criteria

  • Every spawned acceptance process has a finalizer that terminates and awaits it when still running.
  • Every raw SQLite test connection closes even when an assertion or Effect fails.
  • Finalizers do not kill an already completed process or replace the original failure with cleanup noise.
  • A focused regression test exercises cleanup on an intentional scoped failure without leaving a child or open database handle.
  • The full verification command passes on the supported Bun platform.

Blocked by

None (can start immediately).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentFully specified, ready for an AFK agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions