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

fix(out-of-sync): recreate a lane if local scope got deleted and is new #7329

Merged
merged 4 commits into from
May 3, 2023

Conversation

davidfirst
Copy link
Member

Currently, in this case, the .bitmap still has the lane-id but the scope doesn't have the lane object, so the user might be under impression that the workspace is checked out to a lane. Snap command doesn't throw and is snapped on main. Once the user is trying to export, an error is thrown about missing lane object.
This PR re-create the lane in this case. since the .bitmap has the full lane-id, the data to recreate the lane exists and it's possible to do.

@davidfirst davidfirst merged commit fae8013 into master May 3, 2023
@davidfirst davidfirst deleted the recreate-new-lane branch May 3, 2023 01:56
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