Skip to content

Conversation

@petyosi
Copy link
Contributor

@petyosi petyosi commented Sep 8, 2022

🎯 Goal

This change fixes a production-only issue where rapid jumping between messages created a race condition + exception.
@szuperaz - more of an FYI if you copied this mistake from me :(.

@codecov
Copy link

codecov bot commented Sep 8, 2022

Codecov Report

Merging #1738 (488a1b1) into develop (503bb53) will decrease coverage by 0.03%.
The diff coverage is 20.00%.

@@             Coverage Diff             @@
##           develop    #1738      +/-   ##
===========================================
- Coverage    79.63%   79.59%   -0.04%     
===========================================
  Files          231      231              
  Lines         5795     5799       +4     
  Branches      1643     1644       +1     
===========================================
+ Hits          4615     4616       +1     
- Misses        1039     1042       +3     
  Partials       141      141              
Impacted Files Coverage Δ
src/components/Channel/Channel.tsx 79.25% <20.00%> (-0.75%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@szuperaz
Copy link
Contributor

szuperaz commented Sep 8, 2022

I did! But how was this a production-only issue?

@petyosi
Copy link
Contributor Author

petyosi commented Sep 8, 2022

I did! But how was this a production-only issue?

@szuperaz I could not fully confirm that, but my guess is that this was somehow mitigated by React running effects twice in development :(.

@petyosi petyosi merged commit aca9fe2 into develop Sep 8, 2022
@petyosi petyosi deleted the fix-rapid-jump-crash branch September 8, 2022 10:33
@petyosi
Copy link
Contributor Author

petyosi commented Sep 8, 2022

🎉 This PR is included in version 9.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@petyosi
Copy link
Contributor Author

petyosi commented Sep 20, 2022

🎉 This PR is included in version 9.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants