openclaw - 💡(How to fix) Fix fetch-timeout: many warnings logged without operation/url context [3 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fixed

RAW_BUFFERClick to expand / collapse

Symptom

`src/utils/fetch-timeout.ts` emits 6 "fetch timeout reached; aborting operation" warnings/day in our home-prod openclaw-nyla deployment, but the structured fields `operation` and `url` are absent — making the warnings unactionable.

Sample (from Loki, querying `{service_name="openclaw-nyla"} |~ "fetch timeout reached"`):

``` fetch timeout reached; aborting operation fetch timeout reached; aborting operation fetch timeout reached; aborting operation ```

No labels exposed in the Loki stream beyond service_name + level.

Why this happens

`fetch-timeout.ts` already attaches `operation` and `url` to the structured log record (lines 76-90), but only when callers pass them through `buildTimeoutAbortSignal({ operation, url, ... })`. Many callers don't:

```bash $ grep -rn buildTimeoutAbortSignal src/ | wc -l

(expected: many call sites, several without operation/url)

```

Proposed change

  1. Audit all callers of `buildTimeoutAbortSignal` and ensure each passes `operation` (required) and `url` (optional but strongly preferred).
  2. Make `operation` required in the type signature so future callers can't silently drop context.
  3. Optional: include `phase` from the active openclaw lane/phase context if available, so timeout warnings correlate to which subsystem stalled.

Why it matters

"fetch timeout" in a homelab observability stack should be the kind of thing you can drill straight into — "which fetch, where, why now." The current bare-line warnings force a code-spelunk every time.

Source

Discovered during shiori observability deep-dive 2026-05-08.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix fetch-timeout: many warnings logged without operation/url context [3 pull requests]