Request for better error messages on workflow runs. I see constant error messages (red status) on m

Request for better error messages on workflow runs.

I see constant error messages (red status) on my workflow runs, even when all steps have worked successfully as I expected of them, but the status message doesn't help me know why.

In an effort to get rid of all these red status, I've stripped my workflow down to the bare minimum, and tried over and over...but still get the error in 95% of cases. I'm starting to conclude it's just Workflows being flaky for the end result status and not surfacing a useful error message:

    // Something in one of these two steps causes the workflow to show outcome of "exception" and
    // level of "error". What?
    const { foo, bar } = await step.do("test", async () => {
      const foo = "hello";
      const bar = "world";
      return {
        foo,
        bar,
      };
    });
    await step.do("test", async () => {
      return foo + bar;
    });

    // This will not cause an error...most the time...when it's the *only* step in the workflow.
    await step.do("test", async () => {
      return "foooo";
    });

Here is an example request ID that gives an error status for the above steps inside a workflow: IQI88BKIF6L9BMLR

Anybody else seeing this or know what's going on?
Screenshot_2025-05-10_at_3.29.14_PM.png
Screenshot_2025-05-10_at_3.28.45_PM.png
Was this page helpful?