chain-studio/lib
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
..
data feat(studio): friendlyError catches hub-specific patterns 2026-06-09 02:01:36 +02:00
l10n feat(studio): friendlyError catches hub-specific patterns 2026-06-09 02:01:36 +02:00
pages feat(studio): localise Settings sidebar + add inline help docs + Approvals doc 2026-06-09 01:57:46 +02:00
theme feat(studio): rich theme picker (presets + custom colour) + editor 0.11.0 2026-06-02 01:29:34 +02:00
widgets feat(studio): localise Settings sidebar + add inline help docs + Approvals doc 2026-06-09 01:57:46 +02:00
main.dart feat(studio): localise Settings sidebar + add inline help docs + Approvals doc 2026-06-09 01:57:46 +02:00