Back to feed
Dev.to
Dev.to
7/17/2026
The original title is: "The Signal Nobody Heard, Fixing a Silent AbortSignal Bug in OpenClaw"

The original title is: "The Signal Nobody Heard, Fixing a Silent AbortSignal Bug in OpenClaw"

Original: The Signal Nobody Heard, Fixing a Silent AbortSignal Bug in OpenClaw

Short summary

A bug fix writeup for OpenClaw, an open-source AI assistant gateway, where the fetchWithTimeout utility silently discarded caller-provided AbortSignal objects by overwriting them with an internal timeout signal. This caused cancelled requests to continue running in the background, creating connection leaks under load. The fix chains the caller's signal to the timeout controller so both cancellation paths work.

  • fetchWithTimeout in OpenClaw silently overwrote caller AbortSignal with its own timeout signal
  • Cancelled requests kept running, causing connection leaks under concurrent load
  • Fix chains parent signal to timeout controller for proper cancellation propagation

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more