Skip to content

Data-source objects for rows that end as failed tests are never disposed #7123

Closed

Description

@thomhurst

Summary

When a data-source row produces a test that then fails during test building (for example, generic type resolution or a generic constraint violation), the objects the row factory created are never tracked or disposed. Disposable data such as streams, connections or containers stays open until the process exits.

Where

Expected

Objects created for a row that ends as a failed test are disposed (or tracked and disposed at session end), consistently in both modes. They should not be disposed blindly while something might still reference them, for example shared or keyed instances.

Notes

Raised by review bots on #7102 and #7112; deferred because it predates those PRs and needs an engine-wide change to how failed tests are built.

Activity

  1. added a commit that references this issue on Oct 20, 2026
    fe2eeea
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

    bugSomething isn't workingdeferredPostponed to a later release

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions