Skip to content

Read the message out of JSON flow-run errors - #95

Merged
tmnrtn merged 2 commits into
mainfrom
flow-error-line
Oct 26, 2026
Merged

tmnrtn merged 2 commits into
mainfrom
flow-error-line

Conversation

@tmnrtn

@tmnrtn tmnrtn commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • A cloud flow run's errormessage is pretty-printed JSON, so the Failures screen (and the latest-run summary) showed just { as the error line, and every flow failure fell into one "error" group.
  • New ErrorText.FirstLine reads the message (or code, also under error) out of JSON before taking the first non-empty line; non-JSON or unrecognised text is kept as before.
  • FailureEvent.ErrorLine and LatestRunSummary.ErrorLine both use it.
  • Version bumped to 1.20.1.

Test plan

  • New ErrorTextTests and a Failures grouping test
  • Full suite: 2,916 passed

🤖 Generated with Claude Code

TomNortonKerv and others added 2 commits October 26, 2026 15:49
A cloud flow run's errormessage is pretty-printed JSON, so the first line
shown on the Failures screen and the latest-run summary was just "{", and
every flow failure grouped under that one "error". ErrorText.FirstLine now
reads the error's message (or its code) out of the JSON first.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmnrtn
tmnrtn merged commit 40ec78c into main Oct 26, 2026
1 check passed
@tmnrtn
tmnrtn deleted the flow-error-line branch October 26, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants