jeeves-watcher
    Preparing search index...

    Tracks system health via consecutive failure count and exponential backoff.

    Index
    • Record a system-level failure. If maxRetries is exceeded, triggers fatal error.

      Parameters

      • error: unknown

        The error that occurred.

      Returns boolean

      Whether the watcher should continue (false = fatal).

    • Run one operation with health tracking: back off, run it and record the success, or record its failure.

      Parameters

      • fn: () => Promise<void>

        The operation.

      Returns Promise<boolean>

      False when the failure was fatal (the caller stops).

      When retries are exhausted and no fatal-error callback is set.