Skip to content

Commit

Permalink
feat(server): Add NodeRunId to WorkflowEvents
Browse files Browse the repository at this point in the history
  • Loading branch information
Snarr committed Dec 3, 2024
1 parent 9d1de83 commit 9e6fa4d
Show file tree
Hide file tree
Showing 14 changed files with 354 additions and 52 deletions.
1 change: 1 addition & 0 deletions docs/docs/08-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4033,6 +4033,7 @@ world.
| `id` | | [WorkflowEventId](#workfloweventid) | The ID of the WorkflowEvent. Contains WfRunId and WorkflowEventDefId. |
| `content` | | [VariableValue](#variablevalue) | The content of the WorkflowEvent. |
| `created_at` | | google.protobuf.Timestamp | The time that the WorkflowEvent was created. |
| `node_run_id` | | [NodeRunId](#noderunid) | The NodeRun with which the WorkflowEvent is associated. |
<!-- end Fields -->
<!-- end HasFields -->

Expand Down
3 changes: 3 additions & 0 deletions schemas/littlehorse/workflow_event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ message WorkflowEvent {

// The time that the WorkflowEvent was created.
google.protobuf.Timestamp created_at = 3;

// The NodeRun with which the WorkflowEvent is associated.
NodeRunId node_run_id = 4;
}

// The WorkflowEventDef defines the blueprint for a WorkflowEvent.
Expand Down
71 changes: 43 additions & 28 deletions sdk-go/lhproto/workflow_event.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9e6fa4d

Please sign in to comment.