Skip to content

Add a regression test for @defer on a paging field with a global field middleware - #67

Merged
michaelstaib merged 1 commit into
mainfrom
mst/fix-defer-paging-field-middleware
Oct 23, 2026
Merged

michaelstaib merged 1 commit into
mainfrom
mst/fix-defer-paging-field-middleware

Conversation

@michaelstaib

@michaelstaib michaelstaib commented Oct 22, 2026 •

Copy link
Copy Markdown
Owner

Adds a regression test for ChilliCream#10166.

The fix itself already landed upstream in ChilliCream#10564 ("Fix pagination fields losing parallel execution"), which restores the ParallelExecutable flag on the connection and collection segment fields. That PR only pins the flags. This PR adds the end-to-end test for the reported symptom: a deferred fragment selecting a paged field, with a pass-through global field middleware registered through UseField, completes with the deferred data and hasNext false instead of stalling after the initial payload.

Test only, no production change.

Fixes ChilliCream#10166

@michaelstaib michaelstaib changed the title Fix @defer on a paging field hanging when a global field middleware is registered Add a regression test for @defer on a paging field with a global field middleware Oct 23, 2026
@michaelstaib
michaelstaib force-pushed the mst/fix-defer-paging-field-middleware branch from e0f3d56 to bf4e265 Compare October 23, 2026 04:32
@michaelstaib
michaelstaib merged commit 955bbb3 into main Oct 23, 2026
11 of 148 checks passed
@michaelstaib
michaelstaib deleted the mst/fix-defer-paging-field-middleware branch October 23, 2026 04:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

@defer on a UsePaging field hangs the incremental stream when a global field middleware is registered with UseField (v16 regression)

1 participant