-
Notifications
You must be signed in to change notification settings - Fork 110
fix(surrealdb): improve surrealdb healthchecks #795
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
46a2bd2
to
55c521d
Compare
Not sure how to properly escape password but I suppose now it should work for a majority of scenario. |
Looks like there's still a failing test |
I can't reproduce this, and I don't see the reason why it could fail. Isn't it a random error, what if we rerun the failed jobs? |
Randomly failing tests are a concern because they either a) represent tests that aren't robust or b) represent a feature that isn't stable and could cause runtime errors to users. Looking through the logs, it appears that the health check for databases is not passing, so I've pushed a commit with some additional log messages in the health check to see if we can get more insights. |
The new logs are reporting this:
This would suggest that |
The stack trace says that the error is coming from here: https://github.com/surrealdb/surrealdb.net/blob/6b9057dd004b085276fe0c9019cd7d6950a30741/SurrealDb.Net/Internals/SurrealDbEngine.Ws.cs#L1535 Unfortunately, we don't have a stack trace on the |
Fixes #794
Improve SurrealDB resources healthchecks to avoid consumption before initialized.
PR Checklist
Other information
Note: there is also an issue with some password generation (not correctly handled by the client). I am also trying to figure out a solution.