Skip to content

[Cloudflare workflow] option to have only one error on step failure #17421

@Mael-Abgrall

Description

@Mael-Abgrall

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

10.3.0

Framework Version

No response

Link to Sentry event

https://ansearch.sentry.io/traces/trace/490b74c4ebdf422880ad494ec5500f27/?end=2025-08-16T01%3A23%3A57&mode=samples&node=span-8ef783e277b4486b&pageEnd=Sat%20Aug%2016%202025%2002%3A23%3A57%20GMT%2B0100%20%28British%20Summer%20Time%29&pageStart=Wed%20Aug%2013%202025%2002%3A23%3A57%20GMT%2B0100%20%28British%20Summer%20Time%29&project=-1&query=trace%3A490b74c4ebdf422880ad494ec5500f27&source=traces&start=2025-08-13T01%3A23%3A57&statsPeriod&table=trace&timestamp=1755178643.709

Reproduction Example/SDK Setup

No response

Steps to Reproduce

Create failing code

await step.do('will fail', async => {
  fail();
};

Expected Result

One error report is generated once all step.do retries have been exhausted, or on a NonRetryableError

Actual Result

One error is generated on each retry, thus creating a LOT of duplicate errors (see screenshot; where 6 errors have been created for the same issue)

Image

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions