feat: display relay provisioning errors in UI #39
Reference in New Issue
Block a user
Delete Branch "userAdityaa/caravel:display-errors"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
When Caravel fails to provision a relay in Zooid, the error is stored in the
sync_errorcolumn of the relay table (set byfail_relay_sync, cleared bycomplete_relay_sync). However, this field was never surfaced in the UI. As a result, users had no indication of provisioning failures—the relay detail page still appeared normal, and the status badge only showedactiveorinactive.Solution
Expose
sync_errorin the UI at two points:Relay List (RelayListItem.tsx):
If
sync_erroris present, show it as a red badge (truncated withmax-w-56, full text on hover) instead of the status label.Relay Detail (RelayDetailCard.tsx):
If
sync_erroris present, display a red alert banner above the Policy section with a “Provisioning error” label and the full message in monospace.Both indicators render only when


sync_erroris non-empty and disappear automatically once a successful sync clears the field.closes #32
0ec5a5b23dto41602e21c2