Skip to content

[BatchResolver] hangs when parent resolver returns Task<T> with multiple parent items #9892

Open

Description

@ben-hamida

Product

Hot Chocolate

Version

16.1.3

Link to minimal reproduction

https://github.com/ben-hamida/HotChocolateBatchResolverBug

Steps to reproduce

  1. Clone https://github.com/ben-hamida/HotChocolateBatchResolverBug
  2. Run dotnet run Program.cs

What is expected?

All three tests complete successfully.

What is actually happening?

Test 1 and 2 complete, Test 3 hangs indefinitely. The hang is uncancellable (CancellationToken is not respected).

Additional context

The bug requires:

  • Parent resolver returning Task (async)
  • Multiple parent items (2+)
  • Nested [BatchResolver] on children

With a single parent item, the async resolver works correctly.

Activity

  1. added theissue type on Jun 10, 2026
  2. self-assigned this
    on Jun 10, 2026
  3. dil-lmaczo commented on Jul 2, 2026

    @dil-lmaczo

    We have encountered a similar problem. Has there been any progress toward a resolution?

  4. dil-lmaczo commented on Jul 15, 2026

    @dil-lmaczo

    To us this is still a problem in 16.5.0 :(

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

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions