Skip to content
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

Return an error when we fail to instantiate the server #3642

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

MichaelSnowden
Copy link
Contributor

What changed?
We now return an error when FX fails to build the server.

Why?
I made this change so that we can verify that a new server can be instantiated for all services without failing, but that failures will be detected.

How did you test it?
I tested this by adding unit tests for the happy path and an error path (invalid config path). I also ran it locally with race detection on.

Potential risks
This is a new error message, and some invalid configs may trigger this error path when they didn't before.

Is hotfix candidate?
No.

@MichaelSnowden MichaelSnowden requested a review from a team as a code owner November 22, 2022 18:42
@MichaelSnowden MichaelSnowden marked this pull request as draft November 22, 2022 20:51
@MichaelSnowden MichaelSnowden force-pushed the create-server-err branch 3 times, most recently from 7517871 to 1214749 Compare November 28, 2022 21:37
@MichaelSnowden MichaelSnowden marked this pull request as ready for review November 28, 2022 21:53
@MichaelSnowden MichaelSnowden merged commit 362987f into master Nov 28, 2022
@MichaelSnowden MichaelSnowden deleted the create-server-err branch November 28, 2022 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants