Skip to content

Vouch Request - singhharsh1708 #3778

@singhharsh1708

Description

@singhharsh1708

Why do you want to contribute?

I use Trigger.dev and want to start contributing to the core platform. I'd like to fix #3726maxElapsed timeout boundary bypassed in ExponentialBackoff.execute (packages/core/src/v3/apps/backoff.ts).

The retry loop only enforces maxElapsed against the summed sleep delays in retryAsync, and never against the real wall-clock time execute() already tracks in elapsedMs (callback duration + sleeps). As a result, slow callbacks can run far past the configured maxElapsed budget.

I already have a small, tested fix ready (the loop breaks once elapsedMs >= maxElapsed * 1000), with unit tests covering the wall-clock cutoff, the success path, and the maxRetries path, plus a patch changeset for @trigger.dev/core. I'd love to be vouched so I can open the PR, and to keep contributing afterwards.

Prior contributions or relevant experience

Happy to share more on request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions