chain-studio/lib/data
flemming-it 971196518c
Some checks failed
Security / Security check (push) Failing after 1s
feat(studio): friendlyError catches hub-specific patterns
Generic gRPC-code mapping was right but not specific enough.
A flow failing with an approval-timeout used to land on
'Deadline exceeded — try again later'; now it reads 'Freigabe-
Timeout abgelaufen — entweder timeout_seconds erhöhen oder
den Reviewer informieren.'

New pattern matchers in _matchHubPattern, runs before the
gRPC-code switch. Six FlowExecutionError shapes covered:

  - approval rejected ("rejected by")
  - approval timeout
  - output too large ("exceeding the X MB cap")
  - host service not declared
  - missing value reference
  - MCP endpoint unreachable
  - capability not installed (NotFound fallback)

Every match comes with a localised hint pointing at the
concrete fix path (audit log / timeout config / Integrations
panel / Text-tab Fix button).

Five new tests pin the matchers — would catch a silent
regression when the hub renames a variant Display string.
All 11 friendly_error tests + 19 Studio tests green.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-06-09 02:01:36 +02:00
..
error_presentation.dart feat(studio): central error helpers + inline log viewer + Today CTAs 2026-06-04 02:08:15 +02:00
fai_log.dart test(studio): seven FaiLog cases + visibleForTesting path override 2026-06-04 02:43:06 +02:00
flow_output.dart chore(studio): switch to fai_client_sdk (renamed from fai_dart_sdk) 2026-05-26 13:46:32 +02:00
flow_run_driver.dart feat(studio): per-field ports in flow editor + store-doc scroll fix 2026-06-01 22:34:08 +02:00
format.dart feat(studio): typed flow outputs + on-disk docs + UX polish 2026-05-25 11:17:58 +02:00
friendly_error.dart feat(studio): friendlyError catches hub-specific patterns 2026-06-09 02:01:36 +02:00
hub.dart feat(studio): per-field ports in flow editor + store-doc scroll fix 2026-06-01 22:34:08 +02:00
hub_auth_token.dart feat(studio): rich theme picker (presets + custom colour) + editor 0.11.0 2026-06-02 01:29:34 +02:00
registry_token.dart feat(studio): rich theme picker (presets + custom colour) + editor 0.11.0 2026-06-02 01:29:34 +02:00
system_actions.dart feat(studio): rich theme picker (presets + custom colour) + editor 0.11.0 2026-06-02 01:29:34 +02:00
theme_plugin.dart feat(studio): rich theme picker (presets + custom colour) + editor 0.11.0 2026-06-02 01:29:34 +02:00
today_story_loader.dart feat(studio): central error helpers + inline log viewer + Today CTAs 2026-06-04 02:08:15 +02:00