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 join race again #1116

Closed
wants to merge 8 commits into from
Closed

fix join race again #1116

wants to merge 8 commits into from

Conversation

dyc3
Copy link
Owner

@dyc3 dyc3 commented Oct 24, 2023

  • add load_notifiers
  • possibly make it work better?
  • keep load notifiers around after the room has loaded to prevent rugpulling state
  • fix rare join race in multithreaded runtime
  • adjust iterations for route_ws_to_correct_monolith_race

closes #1101 again, hopefully for the last time

@cypress
Copy link

cypress bot commented Oct 24, 2023

4 failed tests on run #676 ↗︎

4 57 0 0 Flakiness 0

Details:

Merge 43c7600 into 5c61552...
Project: OpenTogetherTube Commit: af3022974a ℹ️
Status: Failed Duration: 05:00 💡
Started: Nov 4, 2023 1:48 PM Ended: Nov 4, 2023 1:53 PM
Failed  client/tests/e2e/component/AddPreview.cy.ts • 1 failed test • Component - electron

View Output Video

Test Artifacts
An uncaught error was detected outside of a test Output Screenshots Video
Failed  client/tests/e2e/component/ClickToEdit.cy.ts • 1 failed test • Component - electron

View Output Video

Test Artifacts
An uncaught error was detected outside of a test Output Screenshots Video
Failed  client/tests/e2e/component/ShareInvite.cy.ts • 1 failed test • Component - electron

View Output Video

Test Artifacts
An uncaught error was detected outside of a test Output Screenshots Video
Failed  tests/e2e/integration/playback.spec.ts • 1 failed test • E2E - electron

View Output Video

Test Artifacts
Video playback > should add and play a video Output Screenshots Video

Review all test suite changes for PR #1116 ↗︎

@dyc3 dyc3 enabled auto-merge (squash) October 24, 2023 14:43
@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #1116 (43c7600) into master (f5a8664) will decrease coverage by 0.0088%.
Report is 1 commits behind head on master.
The diff coverage is n/a.

@@               Coverage Diff                @@
##             master      #1116        +/-   ##
================================================
- Coverage   60.4290%   60.4202%   -0.0088%     
================================================
  Files           115        115                
  Lines          9277       9280         +3     
  Branches       1130       1131         +1     
================================================
+ Hits           5606       5607         +1     
- Misses         3671       3673         +2     

see 3 files with indirect coverage changes

@dyc3
Copy link
Owner Author

dyc3 commented Nov 4, 2023

I'm not entirely convinced this complexity is necessary considering what actual user traffic is going to look like. I think that attempting to join a room at the same time it's being loaded is going to be extremely rare.

@dyc3 dyc3 closed this Dec 8, 2023
auto-merge was automatically disabled December 8, 2023 21:47

Pull request was closed

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.

Room Load/Client Join Race Condition
1 participant