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
1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox
Make sure to fork this template and run yarn generate in the terminal.
Please make sure the GraphQL Tools package versions under package.json matches yours.
2. A failing test has been provided
3. A local solution has been provided
4. A pull request is pending review
Describe the bug
It looks like the release that happened today created a failure. Our direct dependency is @graphql-tools/schema": "10.0.4". The failure is our runtime stalling.
To Reproduce Steps to reproduce the behavior:
We havn't changed any code on our end. Cut a new build today that started failing.
@ardatan Apologies for the lack of details; we were scrambling getting a patch in on Friday for our production systems and didn't have the bandwidth to dive in deep. Were hoping this might have been an easy potential miss but it really does seem buried as best as I can tell.
We've narrowed down the root cause on our end to @graphql-tools/utils@10.6.0 changes being incompatible with OpenTelemetry (our observability/instrumentation pack) and our loading sequence. Best speculation I can provide is that perhaps y'all are leaving a Promise or other event on the NodeJS stack open?
In particular; our loading sequence is as follows: node --loader ./src/utilities/telemetry.js ./src/server.js
The ./src/utilities/telemetry.js file instruments all libraries, I believe y'alls in particular via @opentelemetry/instrumentation-graphql. We can attach breakpoints and observed that this file of ours does complete execution BUT the next file (e.g. ./src/server.js) DOES NOT start execution.
This, coupled with 10.6.0 doing things related to fake Promises; make me theorize that perhaps something isn't getting properly closed out so NodeJS is like "well there's still an open event/Promise coming from ./src/utilities/telemetry.js instrumentation of @graphql-tools/... so I'm not going to move on to ./src/server.js.
Issue workflow progress
Progress of the issue based on the
Contributor Workflow
Describe the bug
It looks like the release that happened today created a failure. Our direct dependency is @graphql-tools/schema": "10.0.4". The failure is our runtime stalling.
To Reproduce Steps to reproduce the behavior:
We havn't changed any code on our end. Cut a new build today that started failing.
Expected behavior
Minor version change to not break our build.
Environment:
@graphql-tools/schema
: 10.0.4Additional context
Added the following, which fixed our build:
The text was updated successfully, but these errors were encountered: