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

Avoid follow mode loops #4515

Merged
merged 6 commits into from
Nov 21, 2023
Merged

Avoid follow mode loops #4515

merged 6 commits into from
Nov 21, 2023

Conversation

ruggi
Copy link
Contributor

@ruggi ruggi commented Nov 20, 2023

Fix #4514

Problem:

It should not be possible to have follow mode loops that would lock the editor for all players (e.g. abca).

Fix:

Prevent those loops when turning follow mode on.

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Try me

Copy link

relativeci bot commented Nov 20, 2023

Job #9244: Bundle Size — 65.58MiB (~+0.01%).

99ae5cc(current) vs 5957b21 master#9237(baseline)

Warning

Bundle contains 67 duplicate packages – View duplicate packages

Bundle metrics  Change 1 change Regression 1 regression
                 Current
Job #9244
     Baseline
Job #9237
Regression  Initial JS 47.73MiB(~+0.01%) 47.73MiB
No change  Initial CSS 0B 0B
No change  Cache Invalidation 18.32% 18.32%
No change  Chunks 25 25
No change  Assets 29 29
No change  Modules 4420 4420
No change  Duplicate Modules 469 469
No change  Duplicate Code 30.17% 30.17%
No change  Packages 458 458
No change  Duplicate Packages 67 67
Bundle size by type  Change 1 change Regression 1 regression
                 Current
Job #9244
     Baseline
Job #9237
Regression  JS 65.57MiB (~+0.01%) 65.57MiB
Not changed  HTML 11.32KiB 11.32KiB

View job #9244 reportView feat/avoid-loop-follow branch activity

Copy link
Contributor

github-actions bot commented Nov 20, 2023

Performance test results:
(Chart1)
(Chart2)

# Conflicts:
#	editor/liveblocks.config.ts
#	editor/src/components/canvas/multiplayer-cursors.tsx
#	editor/src/components/user-bar.tsx
#	editor/src/core/shared/multiplayer.ts
@ruggi ruggi merged commit 6e8e1b6 into master Nov 21, 2023
11 checks passed
@ruggi ruggi deleted the feat/avoid-loop-follow branch November 21, 2023 09:21
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.

Prevent loops in follow mode
4 participants