close
Skip to content

reduce ticks stemming from withCleanup#4526

Merged
yaacovCR merged 2 commits intographql:nextfrom
yaacovCR:reduce-ticks
Jan 26, 2026
Merged

reduce ticks stemming from withCleanup#4526
yaacovCR merged 2 commits intographql:nextfrom
yaacovCR:reduce-ticks

Conversation

@yaacovCR
Copy link
Copy Markdown
Contributor

@yaacovCR yaacovCR commented Jan 21, 2026

replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

= refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a normal close.

  • this change also alters the behavior of a stream test to no longer pass spuriously and allows it to be further streamlined

replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
 = refactors IncrementalPublisher to also perform required clean up on a normal close.
@yaacovCR yaacovCR requested a review from a team as a code owner January 21, 2026 14:23
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 21, 2026

@yaacovCR is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@yaacovCR yaacovCR added the PR: bug fix 🐞 requires increase of "patch" version number label Jan 21, 2026
prior to withCleanup changes, this test was actually being triggered by the rejected promise from the next() call, it's working correctly after this change, but it can still be streamlined
@yaacovCR yaacovCR merged commit 1dc7a08 into graphql:next Jan 26, 2026
15 of 16 checks passed
@yaacovCR yaacovCR deleted the reduce-ticks branch January 26, 2026 11:04
yaacovCR added a commit to yaacovCR/graphql-js that referenced this pull request Jan 27, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 22, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 22, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 23, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 24, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 24, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 24, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
yaacovCR added a commit that referenced this pull request Feb 24, 2026
replace withCleanup() with more targeted withConcurrentAbruptClose().

next() calls are no longer wrapped, reducing extra ticks

 = refactors mapAsyncIterable to use the more targeted function
= refactors IncrementalPublisher to also perform required clean up on a
normal close.

* this change also alters the behavior of a stream test to no longer
pass spuriously and allows it to be further streamlined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: bug fix 🐞 requires increase of "patch" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant