diff options
Diffstat (limited to 'internal/task')
| -rw-r--r-- | internal/task/task.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/task/task.go b/internal/task/task.go index b85b07c..6a9d1db 100644 --- a/internal/task/task.go +++ b/internal/task/task.go @@ -48,6 +48,12 @@ type RetryConfig struct { Backoff string `yaml:"backoff" json:"backoff"` // "linear", "exponential" } +// GitCommit represents a single git commit created during a task execution. +type GitCommit struct { + Hash string `json:"hash"` + Message string `json:"message"` +} + // Changestats records file/line change metrics from an agent execution. type Changestats struct { FilesChanged int `json:"files_changed"` |
