Summary
Expose trigger event history and connector sync results in the console so users can inspect what ran, what was imported, and why something failed.
Why
The backend records agent_trigger_events, but the Settings UI currently only shows trigger definitions and last error. Users need a practical operations view for webhook deliveries, cron runs, manual runs, and connector sync imports/skips/errors.
Scope
- Add a trigger detail/history view or expandable event list in instance Settings.
- Show recent events with status, source type, timestamp, message, and error.
- For
sync_connector, show scanned/imported/skipped/error counts.
- Add “Run now” feedback that links to or refreshes history.
- Keep payload display bounded/redacted where needed.
Acceptance Criteria
- A user can open a trigger and see recent received/running/succeeded/failed events.
- Connector sync events show imported/skipped/error counts.
- Failed events display actionable error messages.
- Large payloads are truncated safely in UI.
- E2E covers viewing trigger history after mocked events.
- API/event history remains owner-scoped.
Summary
Expose trigger event history and connector sync results in the console so users can inspect what ran, what was imported, and why something failed.
Why
The backend records
agent_trigger_events, but the Settings UI currently only shows trigger definitions and last error. Users need a practical operations view for webhook deliveries, cron runs, manual runs, and connector sync imports/skips/errors.Scope
sync_connector, show scanned/imported/skipped/error counts.Acceptance Criteria