You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading @graphql-tools/executor-http to version v1.1.10, we encountered the following error when running on Cloudflare Workers:
Cannot perform I/O on behalf of a different request. I/O objects (such as streams, request/response bodies, and others) created in the context of one request handler cannot be accessed from a different request's handler. This is a limitation of Cloudflare Workers which allows us to improve overall performance. (I/O type: RefcountedCanceler)
This issue does not occur with version v1.1.9 or earlier.
Impact
The error appears to be related to the way I/O is handled, and several improvements made in version v1.1.10 may have a significant impact on applications deployed in the Cloudflare Workers environment.
Steps to Reproduce
Deploy a Cloudflare Worker using @graphql-tools/executor-http at v1.1.10.
Execute a request that invokes the library.
Observe the error output as shown above.
Expected Behavior
The worker should perform I/O operations without encountering the aforementioned error, similar to the behavior experienced with v1.1.9 or earlier.
Additional Context
It appears that some changes between v1.1.9 and v1.1.10 might be responsible for this behavior. If there were updates related to I/O handling or request contexts, they could be contributing to the issue observed on Cloudflare Workers.
Description
After upgrading
@graphql-tools/executor-http
to version v1.1.10, we encountered the following error when running on Cloudflare Workers:This issue does not occur with version v1.1.9 or earlier.
Impact
The error appears to be related to the way I/O is handled, and several improvements made in version v1.1.10 may have a significant impact on applications deployed in the Cloudflare Workers environment.
Steps to Reproduce
@graphql-tools/executor-http
at v1.1.10.Expected Behavior
The worker should perform I/O operations without encountering the aforementioned error, similar to the behavior experienced with v1.1.9 or earlier.
Additional Context
It appears that some changes between v1.1.9 and v1.1.10 might be responsible for this behavior. If there were updates related to I/O handling or request contexts, they could be contributing to the issue observed on Cloudflare Workers.
#180 #199
Environment
The text was updated successfully, but these errors were encountered: