Describe the bug
After recent upgrade from 5.19.12 to 5.41.1 I found our app is freezing to multiple seconds (got as much as 5s in some cases) when I click through UI.
Reproduction
I am not yet sure how to make a reproduction for it outside our code, but I think the problem is important enough to start discussion about it and iterate on the findings.
What I know so far:
- We are not using async
- It seems like the regression appears in 5.41.1. I can't say for sure, because I don't quite know a specific set of steps that lead to it. My guess it's branch refactoring PR
- The best way to trigger it seems to be fast clicking through some tabs in our UI. So probably something isn't cleaned up correctly and get interleaved?
Bottoms up

Source with timings

Logs
System Info
I can repro it both in Chrome and Firefox, so seems like env is irrelevant
Severity
blocking an upgrade to
Describe the bug
After recent upgrade from 5.19.12 to 5.41.1 I found our app is freezing to multiple seconds (got as much as 5s in some cases) when I click through UI.
Reproduction
I am not yet sure how to make a reproduction for it outside our code, but I think the problem is important enough to start discussion about it and iterate on the findings.
What I know so far:
Bottoms up

Source with timings

Logs
System Info
I can repro it both in Chrome and Firefox, so seems like env is irrelevantSeverity
blocking an upgrade to