| 30 | } |
| 31 | |
| 32 | type Runner struct { |
| 33 | client client |
| 34 | updater appStatusUpdater |
| 35 | cfg Config |
| 36 | |
| 37 | logger slog.Logger |
| 38 | |
| 39 | // workspaceID is set after creating the external workspace |
| 40 | workspaceID uuid.UUID |
| 41 | |
| 42 | mu sync.Mutex |
| 43 | reportTimes map[int]time.Time |
| 44 | doneReporting bool |
| 45 | |
| 46 | // testing only |
| 47 | clock quartz.Clock |
| 48 | randFloat64 func() float64 |
| 49 | } |
| 50 | |
| 51 | var ( |
| 52 | _ harness.Runnable = &Runner{} |
nothing calls this directly
no outgoing calls
no test coverage detected