-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
Sandbox node graph execution on native targets and attempt recovery from panics on Wasm #1846
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TrueDoctor
force-pushed
the
sandbox_nodegraph
branch
from
July 23, 2024 11:22
b0ed8c7
to
bf00d89
Compare
Note to test this you can enable the vello feature which currently just calls a panic, this will of course need to be removed before merging |
Keavon
force-pushed
the
master
branch
11 times, most recently
from
July 24, 2024 11:46
fceb3a6
to
ab87486
Compare
TrueDoctor
changed the title
Sandbox nodegraph executuon on native targets and attempt panic recovery on wasm
Sandbox node graph execution on native targets and attempt panic recovery on wasm
Jul 25, 2024
TrueDoctor
force-pushed
the
sandbox_nodegraph
branch
from
July 25, 2024 09:31
c4fff68
to
9bdcbb6
Compare
TrueDoctor
force-pushed
the
sandbox_nodegraph
branch
from
July 25, 2024 10:49
74e3e36
to
56f1a30
Compare
Keavon
changed the title
Sandbox node graph execution on native targets and attempt panic recovery on wasm
Sandbox node graph execution on native targets and attempt recovery from panics on Wasm
Jul 26, 2024
Keavon
force-pushed
the
sandbox_nodegraph
branch
from
July 27, 2024 08:53
56f1a30
to
9c2c3b0
Compare
Keavon
force-pushed
the
sandbox_nodegraph
branch
from
July 28, 2024 00:52
9c2c3b0
to
6f2cda1
Compare
Keavon
force-pushed
the
sandbox_nodegraph
branch
from
July 28, 2024 12:54
6f2cda1
to
6e498bb
Compare
Keavon
approved these changes
Jul 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1552
This implements panic catching for native targets using the rust std
catch_unwind
function. As this does not work on wasm yet: rust-lang/rust#118168, I've implemented a hacky workaround which should give the user the ability to still save their work when the editor crashes and recover some of their work