Skip to content

fix(clawhub): retry transient package reads - #105388

Merged
vincentkoc merged 1 commit into
mainfrom
fix/clawhub-transient-retries
Jul 12, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/clawhub-transient-retries

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Jul 12, 2026 •

Copy link
Copy Markdown
Member

Fixes #105383

What Problem This Solves

Fixes an issue where plugin release, install, and doctor workflows would fail
immediately when a ClawHub package or skill read encountered a transient 502,
503, 504, or transport error.

Why This Change Was Made

ClawHub reads now use one shared bounded retry policy that honors a safe
Retry-After value and retains final response diagnostics. Mutating requests
remain single-attempt because a failed response cannot prove the remote write
did not commit.

User Impact

Operators can expect transient ClawHub read failures to recover automatically
instead of aborting a release or package workflow on the first failed request.
Persistent failures still terminate with bounded, correlation-friendly
diagnostics.

Evidence

  • Blacksmith Testbox focused serial tests: 125 passed, 2 skipped across
    src/infra/clawhub-retry.test.ts, src/infra/clawhub.test.ts, and
    test/plugin-clawhub-release.test.ts.
  • Scoped pnpm check:changed passed all available format, core typecheck,
    dependency, plugin SDK, changelog-attribution, and repository guard lanes.
  • git diff --check passed.
  • Exact-head branch autoreview completed with no actionable findings
    (overall_correctness: patch is correct, confidence 0.9).

@vincentkoc vincentkoc self-assigned this Jul 12, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: L maintainer Maintainer-authored PR labels Jul 12, 2026
@vincentkoc
vincentkoc force-pushed the fix/clawhub-transient-retries branch from e5e9e13 to 5b781e7 Compare July 12, 2026 13:23
@vincentkoc
vincentkoc marked this pull request as ready for review July 12, 2026 13:25
@vincentkoc

Copy link
Copy Markdown
Member Author

Land-ready verification for exact head
5b781e74c6155234af092ec00565b11d2de6ab4b:

  • Focused Blacksmith Testbox tbx_01kxb7517ffkesaaq4br98sb61:
    pnpm test:serial src/infra/clawhub-retry.test.ts src/infra/clawhub.test.ts test/plugin-clawhub-release.test.ts
    passed 125 tests with 2 skipped.
  • Scoped Testbox pnpm check:changed -- <touched files> passed every
    available lane; the sparse-only missing UI import was covered by the
    full-checkout hosted gate.
  • Exact-head branch autoreview: no actionable findings; patch assessed
    correct at 0.9 confidence.
  • OPENCLAW_TESTBOX=1 scripts/pr prepare-run 105388 passed with
    gates_mode=hosted_exact_or_recent_rebase at 2026-07-12T13:25:24Z.
  • git diff --check passed.

Known gap: no synthetic live ClawHub 503 was injected into production. The
retry/status/write-safety branches are covered by focused tests, and the
coordinated server-side contention fix is being landed separately in
openclaw/clawhub.

@vincentkoc
vincentkoc merged commit 2c98b21 into main Jul 12, 2026
161 of 165 checks passed
@vincentkoc
vincentkoc deleted the fix/clawhub-transient-retries branch July 12, 2026 13:25
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ClawHub transient 503s abort release planning and plugin repair

1 participant