Skip to content

Submit new upstream PR to gonka-ai/gonka: circuit breaker + probe re-exclusion fix #33

@mingles-agent

Description

@mingles-agent

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:

  1. 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
  2. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions