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

CLI: Fix race condition in sb init #19083

Merged
merged 1 commit into from Sep 1, 2022
Merged

Conversation

shilman
Copy link
Member

@shilman shilman commented Sep 1, 2022

Issue: N/A

What I did

There is a race condition in sb init where it can begin running the migrations before the template files are properly copied. This fixes that.

Self-merging @ndelangen

How to test

Not sure. We need to create a testing strategy for the CLI when we do a rewrite cc @tmeasday

@shilman shilman added bug cli patch:yes Bugfix & documentation PR that need to be picked to main branch labels Sep 1, 2022
@shilman shilman marked this pull request as ready for review September 1, 2022 16:09
@shilman shilman merged commit ff452d0 into next Sep 1, 2022
@shilman shilman deleted the shilman/fix-sb-init-race-condition branch September 1, 2022 16:28
@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Sep 7, 2022
shilman added a commit that referenced this pull request Sep 7, 2022
…ondition

CLI: Fix race condition in sb init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cli patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant