-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
[4.2] GDScript: Lambda hotswap fixes #86860
[4.2] GDScript: Lambda hotswap fixes #86860
Conversation
Normally when something is easily done with Will need a decision from the gdscript team and see if it doesn't cause any unforeseen issues before merging but code looks good, but would wait a while to see if it introduced any issues 🙂 |
ah 👍 ya it was trivial, not much of the surrounding code changed , didn't know 👍 |
Then future suggestion would be to ask on the PR if it can be cheery picked |
@rune-scape Could you help us evaluate how risky this PR is, i.e. does it have potential to introduce regressions and are the issues it fixes worth it? For stable branches we're usually quite conservative with what we cherry-pick, and this code specifically had a number of critical regressions in the phase leading to 4.2-stable. It's not clear whether users are affected by the issues #86569 fixes in the wild (no bug report), so if it has potential to instead break some functionality, I'd opt for not cherry-picking the PR (and let it get tested thoroughly in the 4.3 dev phase). |
Given that I won't be very aware of how this turns out in the wild, all I can say is I agree with not cherry-picking at least until 4.3 has been thoroughly tested and also it's maybe not worth the risk if there are no reported issues in 4.2, anyway. I wouldn't oppose, though, regardless no reports, but, yes, let's see if the current approach crystalizes into stability in the wild. |
technically not a critical bug, but the way that #81628 works is fundementally broken, the the PRs that followed didnt fix the fact that it invalidates basically all lambdas unless theres only 1 script with lambdas, making it safer than nothing ig |
The thing is, if it's breaking hot reloading, it's not a big deal, it's just an editor time inconvenience. What it addressed however was runtime crashes which were critical. I want to make sure we don't re-introduce runtime issues for the sake of improving editor lambda editing usability. |
ok i understand, was giving my input and maybe was distracted from how important its stability is, |
Let's give it a go then and see what happens with 4.2.2 RC 1 tests. |
Thanks! |
cherrypicked #86569 for 4.2 :)