Skip to content

Node panics shouldn't bring down the editor #1552

@Keavon

Description

@Keavon

Sandbox various components, like the node graph, in panic handlers. Reload those components instead of having to reload the whole page. Avoid making the document get lost since that's highly destructive to the user and almost always shouldn't be corrupted by whatever bug resulted in the crash, so the document data should most likely be in tact.

Some options:

  • Move the graph evaluator into a web worker?
  • Something with panic handlers?
  • Reboot the node graph executor somehow?

Metadata

Metadata

Assignees

Labels

ArchitectureInvolves architecture or engineering work or discussionGrapheneInvolves the node graph system/engine used by Graphite

Projects

Status

Completed This Milestone

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions