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: connection locations not updating #6921

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

BeksOmega
Copy link
Collaborator

@BeksOmega BeksOmega commented Mar 24, 2023

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide
  • I ran npm run format and npm run lint

The details

Resolves

Aaron discovered an issue with the ternary block during testing, where blocks couldn't be connected to it. Turns out that some connection locations weren't being added to the db due to the moved check. I'm not sure why this is occuring, so I'm just removing it for now. This does give us a performance hit of ~20ms when moving spaghetti blocks around. But it's still ~5x faster than on master so nbd.

Proposed Changes

Fixes regression where connections weren't being added to the db.

Reason for Changes

Regressions are sad.

Test Coverage

Manual testing.

Documentation

N/A

Additional Information

Going to create an issue for reverting this now that I've created this PR.

This is release blocking.

@github-actions github-actions bot removed the PR: fix Fixes a bug label Mar 24, 2023
@github-actions github-actions bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels Mar 24, 2023
@BeksOmega BeksOmega enabled auto-merge (squash) March 24, 2023 19:56
@BeksOmega BeksOmega merged commit 0708c97 into google:develop Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants