You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AsModule & Initialize not Properly Cached within the same session #8254
The second run is only adding like 30ms overhead atm, but if this wasn't happening we wouldn't be reloading any context and would be side-stepping this problem. So worth understanding at some point
The main problem seems to be some non-determinism in loading the local source blob, things to look at:
There's some maps being used in the implementation (here and here, maybe elsewhere too). Worth checking if they are being iterated over in a way that results in some non-determinism
Activity
sipsma commentedon Aug 31, 2024
I didn't get time to dive into before PTO, so just leaving a few breadcrumbs if anyone picks it up before I'm back:
Syncdoesn't always work as expected with certain APIs #7788 being fixedDiffAPI obviously would help; if something fancier is called for I've wanted to try https://diffoscope.org for a while now to get fine-grain info on precisely what is different between two dirsmarcosnils commentedon Sep 19, 2024
@aluzzardi have you checked if this improved after v0.13.1? As Erik mentioned, we think #8471 should have fixed some of these aspects 🙏
helderco commentedon Apr 21, 2025
@sipsma, this is no longer a thing since there's no more "Module.initialize" function, right?
sipsma commentedon Apr 22, 2025
yep! And the various caching issues w/ module loading have been addressed, I'll close this out for now