recoveryFailingToolSet simulates a toolset that starts successfully on the first attempt (Start) and then fails on every Restart call, representing a toolset that was working but became unavailable.
| 326 | // the first attempt (Start) and then fails on every Restart call, |
| 327 | // representing a toolset that was working but became unavailable. |
| 328 | type recoveryFailingToolSet struct { |
| 329 | started bool |
| 330 | restartErr error |
| 331 | } |
| 332 | |
| 333 | func (r *recoveryFailingToolSet) Tools(context.Context) ([]tools.Tool, error) { return nil, nil } |
| 334 | func (r *recoveryFailingToolSet) IsStarted() bool { return r.started } |
nothing calls this directly
no outgoing calls
no test coverage detected