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

Improve database upgrade experience #185

Merged
merged 1 commit into from
Apr 8, 2023
Merged

Improve database upgrade experience #185

merged 1 commit into from
Apr 8, 2023

Conversation

jlowin
Copy link
Member

@jlowin jlowin commented Apr 8, 2023

Fixes an issue where installing bots hits the DB before the TUI has a chance to show an upgrade screen; hitting the DB crashes the TUI.

In this setup, bot installation failures are logged and the TUI does not proceed until a database_ready flag is set. If the TUI performs the upgrade itself, then it attempts to reinstall the bots as well.

@jlowin jlowin merged commit 1b2af7d into main Apr 8, 2023
@jlowin jlowin deleted the database-upgrade branch April 8, 2023 02:07
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