Runner executes a single chat conversation as part of a scaletest run.
| 20 | |
| 21 | // Runner executes a single chat conversation as part of a scaletest run. |
| 22 | type Runner struct { |
| 23 | client chatClient |
| 24 | cfg Config |
| 25 | |
| 26 | chatID uuid.UUID |
| 27 | result runnerResult |
| 28 | |
| 29 | conversationStart time.Time |
| 30 | turnStartTime time.Time |
| 31 | currentPhase string |
| 32 | lastStreamError string |
| 33 | lastStatus codersdk.ChatStatus |
| 34 | sawTurnRunning bool |
| 35 | sawTurnFirstOutput bool |
| 36 | markTurnStartReady func() |
| 37 | } |
| 38 | |
| 39 | type runnerResult struct { |
| 40 | finalStatus string |
nothing calls this directly
no outgoing calls
no test coverage detected