New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃悶 NotAwaitedRequestError
: Encountered an error while requesting data via graphql through a synchronous call. Make sure the function called is awaited.
#7303
Comments
+1 |
Probably a side effect of a client connection going down. |
Just saw this again https://github.com/dagger/dagger/actions/runs/9016111175/job/24772050665?pr=7333 |
I'm aware of this issue, however it's quite complex to enforce the call to I can do some work on parsing the error and if a connection refused error match, then it's probably not because of an await. There's also another issue related to connection: #4375 |
I want to point out that using I think their usage should be cleaned up at some point, but don't have any raw data to suggest that it's causing major issues and the (possible) unexpected results could in fact be negligeable. |
I tried to use async only when it was required, but because you cannot use await in a no async func, I had 2 choices: I'm open to any suggestions, right now I think it's more related to error handling than an async issue. |
What is the issue?
Hit this in
sdk:typescript:test
https://github.com/dagger/dagger/actions/runs/8986965799/job/24684341907?pr=7296#step:5:6492Also:
cc @TomChv
Dagger version
dagger v0.11.2 (registry.dagger.io/engine) linux/amd64
Steps to reproduce
Not sure how to reproduce, but I've seen our CI hit it a few times. Will comment when we hit it again.
Log output
NotAwaitedRequestError.txt
The text was updated successfully, but these errors were encountered: