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

Recover when the database hasn’t been set up yet #58

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

duncanjbrown
Copy link
Contributor

@duncanjbrown duncanjbrown commented Oct 4, 2022

And another build-related edge case 😅

Manually throw a MigrationPending exception, or else, in cases where app code begins executing before migration has run (eg worker instances that override default Docker entrypoints) and there is no DB schema yet (eg review apps), we get an error saying that the whole schema needs to be put into the blocklist

Manually throw a MigrationPending exception if needed, or in cases where
app code begins executing before migration has run (eg worker instances
that override default Docker entrypoints) and there is no DB schema yet
(eg review apps) we get an error saying that the whole schema needs to
be put into the blocklist
Also strengthen log line assertions in specs, we should expect, not
allow
@duncanjbrown duncanjbrown merged commit 7f4c308 into main Oct 5, 2022
@duncanjbrown duncanjbrown deleted the fix-review-apps branch October 5, 2022 10:28
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