Skip to content

Commit

Permalink
feat: Update runner client proto
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Jul 18, 2024
1 parent 7c33263 commit 249acc2
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion runner-client/proto/runner.proto
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,26 @@ message ExecutorInfo {
string executor_id = 1;
string account_id = 2;
string function_name = 3;
string status = 4;
// Block height corresponding to the created/updated height of the indexer
uint64 version = 5;
Health health = 6;
}

// Contains health information for the Executor
message Health {
ExecutionState execution_state = 1;
}

enum ExecutionState {
UNSPECIFIED = 0;
// Running as expected
RUNNING = 1;
// Executor is running, but the execution is erroring
FAILING = 2;
// Waiting for some internal condition to be met before proceeding
WAITING = 3;
// Intentionally stopped
STOPPED = 4;
// Unintentionally stopped
STALLED = 5;
}

0 comments on commit 249acc2

Please sign in to comment.