Skip to content

Wait for iterator Deferred in SearchByTreeWalkingMixin.search (fixes #62) - #255

Merged
psi29a merged 2 commits into
masterfrom
fixes/search-deferred
Aug 25, 2026
Merged

Wait for iterator Deferred in SearchByTreeWalkingMixin.search (fixes #62)#255
psi29a merged 2 commits into
masterfrom
fixes/search-deferred

Conversation

@psi29a

@psi29a psi29a commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Wait for iterator Deferred in SearchByTreeWalkingMixin.search (fixes #62)

The iterator's Deferred was silently discarded, so back ends whose children/subtree methods actually behaved asynchronously returned an empty result set. Chain through defer.maybeDeferred and add a regression test that exercises a genuinely-async back end.

psi29a added 2 commits August 25, 2026 15:16
)

The iterator's Deferred was silently discarded, so back ends whose
children/subtree methods actually behaved asynchronously returned an
empty result set. Chain through defer.maybeDeferred and add a
regression test that exercises a genuinely-async back end.
@psi29a
psi29a merged commit f54fb49 into master Aug 25, 2026
3 of 5 checks passed
@psi29a
psi29a deleted the fixes/search-deferred branch August 25, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

entryhelpers.SearchByTreeWalkingMixin.search() Deferred never called if scope iterator is actually asynchronous.

1 participant