Consolidation retry loop keeps issuing redundant LLM calls when the remote decision circuit breaker is open
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by tracing the remote retry loop and its circuit-breaker handling, then compare the issue’s linked fix branch and tests. Reproduce the open-breaker case with the decision adapter unavailable and check that the loop makes one attempt before falling back to the existing generative path; other provider errors should retain their retry behavior.
Written by the indexing model from the issue text.
Description
Problem
When a remote decision-model endpoint becomes unavailable (adapter down, network partition),
the engine's remote retry path keeps issuing redundant attempts against the dead endpoint.
In production we measured decision-path p50 latency of ~8.3s under an open breaker, versus
~0.56s after treating circuit-open as terminal.
Proposal
Treat an open circuit breaker as a terminal condition in the remote retry loop: skip further
attempts until the breaker's cooldown elapses, and fall back to the existing generative path
immediately. This does not change retry policy for other provider errors.
Reproduction
Synthetic lab setup: decision adapter bound to a local port, adapter process killed mid-run,
consolidation triage triggered repeatedly. Observed N redundant attempts per operation while
the breaker was already open; with the terminal check, one attempt then immediate fallback.
Evidence
Branch with fix + tests (4 passed, ruff clean): https://github.com/BenedettiLucca/hindsight/tree/fix/circuit-open-terminal
Related: #6928 (Hermes client retries — different layer).
- Dominant language
- Python
- Stars
- 45.2k
- Forks
- 5.9k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vectorize-io/hindsight
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vectorize-io/hindsight#7254 ·
-
Control Plane shows different calendar dates for the same occurrence in Constellation and TimelineOpencore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
vectorize-io/hindsight#7240 · 1 comment ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vectorize-io/hindsight#7233 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
vectorize-io/hindsight#7231 ·
-
core
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
vectorize-io/hindsight#7228 · 1 comment ·
All issues in vectorize-io/hindsight
Similar issues
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPossibly taken A pull request linked to this issue is open or already merged. Opengood first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 · 3 comments ·
Maintainers usually reply within 1 day
-
polish
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPossibly taken @AshutoshSingh840 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
UKGovernmentBEIS/control-arena#992 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Maintainers usually reply within 1 day