feat: Add ResetCircuitBreaker helper

This commit is contained in:
2026-08-16 03:41:26 +03:00
parent 26c4be2d3a
commit 286cb8653a
4 changed files with 70 additions and 6 deletions

View File

@@ -65,11 +65,11 @@ Implement the complete multimodal trip planning service as specified in `docs/sp
- [x] Write tests: TestFindRouteWithSyntheticFallback
- [x] Run tests - must pass before task 3
### Task 3: Add ResetCircuitBreaker helper [ ]
- [ ] Add `ResetCircuitBreaker` function to `internal/yandex/client.go`
- [ ] Update tests to use the new reset function
- [ ] **Write tests:** TestResetCircuitBreaker
- [ ] Run tests - must pass before task 4
### Task 3: Add ResetCircuitBreaker helper [x]
- [x] Add `ResetCircuitBreaker` function to `internal/yandex/client.go`
- [x] Update tests to use the new reset function
- [x] **Write tests:** TestResetCircuitBreaker
- [x] Run tests - must pass before task 4
### Task 4: Implement on-demand /search integration [ ]
- [ ] Integrate on-demand `/search` calls in lazy graph expansion