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

Revert and cleanup the verify_connection task #995

Merged
merged 2 commits into from
Dec 29, 2023
Merged

Revert and cleanup the verify_connection task #995

merged 2 commits into from
Dec 29, 2023

Conversation

jwoertink
Copy link
Member

Fixes #902

We've had users in the past that get started with Lucky and have a horrible first experience because their setup script never completes. In this last case, it was only the verify_connection task that was failing, but not very apparent. We used to have the code work this way, but changed it to call open.close. Somehow, that must be causing some sort of race condition and randomly fails for some people.

I wasn't ever able to recreate the issue, but I'd rather give people a nice first experience, so I'm just reverting this for now.

@@ -23,7 +23,6 @@ Avram.initialize_logging

Db::Create.new(quiet: true).run_task
Db::Migrate.new(quiet: true).run_task
Db::VerifyConnection.new(quiet: true).run_task
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't needed. We test this both in the spec, and through the integration test script on CI.

@jwoertink jwoertink merged commit 795b005 into main Dec 29, 2023
9 checks passed
@jwoertink jwoertink deleted the issues/902 branch December 29, 2023 22:11
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.

Issue with the verify_connection task
1 participant