google / google/ax

Ensure an orphaned SubstrateHarness actor can be rescued

Open
#117 1 comment 0 reactions 1 assignee Claimed by @rakyll View on GitHub
substrate
Dominant language
Go
Stars
2k
Forks
120
PR merge metrics
No merged PRs in 30d

Description

There isn't a clear story yet how to handle orphaned Substrate harness actors. Consider the following case:

- AX server crashes before a harness actor finishes
- After harness finishes working, it won't be auto suspended by the AX server
- Furthermore, incoming requests will be rejected because the orphaned actor is still in flight

By switching to the new async communication between the server and harness, we should be able to recover and suspend after resumption. This behavior requires more thought and discussion before we start the implementation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.