Skip to content

Vouch Request: ykstorm — fix #3726 (ExponentialBackoff maxElapsed wall-clock) #4103

Closed as not planned

Description

@ykstorm

Why do you want to contribute?

I'd like to fix #3726 — ExponentialBackoff.execute() never counts callback wall-clock time toward maxElapsed, so a slow callback can run well past the intended deadline. This is exactly the open question flagged in the // TODO at packages/core/src/v3/apps/backoff.ts:101 ("With .execute(), should this also include the time it takes to execute the callback?").

I already have a failing regression test reproducing the bug and a minimal fix ready, and would open it as a single-issue PR once vouched.

Prior contributions or relevant experience

I build event-driven durable-execution infrastructure. My project ykstorm/anvil is an idempotent webhook → BullMQ worker pipeline: HMAC-verified ingestion with idempotency keys, retry, and dead-letter handling (measured constant-time HMAC verification, real end-to-end test suite). Trigger.dev's retry/backoff internals are directly in my wheelhouse.

Scope discipline: single-issue PR, minimal diff, changeset included, no unrelated refactors.

Activity

  1. matt-aitken commented on Oct 7, 2026

    @matt-aitken
    Member

    We have a new Vouch policy, please see the discussion here: #5010

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions