Skip to content

Commit c3fd357

Browse files
committed
Add lastRunId field to RunnerEvents constructor
Introduced a new field, lastRunId, to the RunnerEvents constructor to track the ID of the last run. This change enhances the event model, enabling better traceability and context for runner events.
1 parent 38b9d0b commit c3fd357

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/kotlin/com/cosmotech/api/events/RunnerEvents.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@ class UpdateRunnerStatus(
2727
publisher: Any,
2828
val organizationId: String,
2929
val workspaceId: String,
30-
val runnerId: String
30+
val runnerId: String,
31+
val lastRunId: String,
3132
) : CsmRequestResponseEvent<String>(publisher)

0 commit comments

Comments
 (0)