Goal
Submit a new PR to upstream gonka-ai/gonka replacing the closed PR gonka-ai#974 , addressing both reasons x0152 closed it.
What to include
All commits from our development branch that are ahead of upstream/main, specifically:
Circuit breaker + reputation-adjusted selection (originally from PR feat: intra-epoch circuit breaker with reputation-adjusted executor selection gonka-ai/gonka#974 ):
inference-chain/x/inference/keeper/circuit_breaker.go — CB state machine, UpdateCBStateForBlock, GetRandomExecutor
inference-chain/x/inference/types/ — CBEntry, ValidationParams with CB params
Related tests
Same-block probe re-exclusion fix (merged in PR fix: prevent same-block re-exclusion after probe success #26 , our issue Fix merge conflicts in PR #26 (probe re-exclusion fix) and merge #28 ):
LastRestoredBlock field in CBEntry
Grace period check in UpdateCBStateForBlock Pass 2
Tests: TestProbeSuccessNotReExcludedSameBlock, TestProbeSuccessCanBeExcludedNextBlock, TestProbeFailureReExcludesImmediately
PR description to use
Title: feat: intra-epoch circuit breaker with reputation-adjusted executor selection
Body should:
How to create the PR
cd /root/.openclaw/workspace/gonka
# Verify what's ahead of upstream/main
git log upstream/main..HEAD --oneline
# Create PR from our branch to upstream main
gh pr create --repo gonka-ai/gonka \
--title " feat: intra-epoch circuit breaker with reputation-adjusted executor selection" \
--body " ..." \
--base main \
--head mingles-agent:development # or whichever branch has our changes
Note: check the exact branch name and remote setup first.
Acceptance criteria
Goal
Submit a new PR to upstream
gonka-ai/gonkareplacing the closed PR gonka-ai#974, addressing both reasons x0152 closed it.What to include
All commits from our
developmentbranch that are ahead ofupstream/main, specifically:Circuit breaker + reputation-adjusted selection (originally from PR feat: intra-epoch circuit breaker with reputation-adjusted executor selection gonka-ai/gonka#974):
inference-chain/x/inference/keeper/circuit_breaker.go— CB state machine, UpdateCBStateForBlock, GetRandomExecutorinference-chain/x/inference/types/— CBEntry, ValidationParams with CB paramsSame-block probe re-exclusion fix (merged in PR fix: prevent same-block re-exclusion after probe success #26, our issue Fix merge conflicts in PR #26 (probe re-exclusion fix) and merge #28):
LastRestoredBlockfield in CBEntryPR description to use
Title:
feat: intra-epoch circuit breaker with reputation-adjusted executor selectionBody should:
How to create the PR
Note: check the exact branch name and remote setup first.
Acceptance criteria