Skip to content

feat(automations): add delivery logs to the drawer#3987

Draft
mmabrouk wants to merge 5 commits intofix/automations-draft-testingfrom
fix/automations-delivery-logs
Draft

feat(automations): add delivery logs to the drawer#3987
mmabrouk wants to merge 5 commits intofix/automations-draft-testingfrom
fix/automations-delivery-logs

Conversation

@mmabrouk
Copy link
Member

@mmabrouk mmabrouk commented Mar 13, 2026

Summary

  • add a logs tab to the automation drawer for persisted subscriptions with recent delivery history
  • show selected deliveries in overview and JSON views so request/response details are inspectable in place
  • wire delivery queries into automations state and refresh them after persisted test runs

Open with Devin

Add a logs tab for persisted automations with recent delivery history and overview/json inspection. Reuse the existing delivery query API and keep drawer testing wired to persisted deliveries when the logs view is active.
@vercel
Copy link

vercel bot commented Mar 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Mar 13, 2026 5:03pm

Request Review

Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 6 additional findings.

Open in Devin Review

@github-actions
Copy link
Contributor

github-actions bot commented Mar 13, 2026

Railway Preview Environment

Status Destroyed (PR converted to draft)

Updated at 2026-03-13T14:45:31.750Z

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. feature labels Mar 13, 2026
@mmabrouk mmabrouk marked this pull request as draft March 13, 2026 14:45
…ON, improve list item styling

- Remove Overview/JSON tabs from detail panel, show raw JSON via SimpleSharedEditor
- Replace opaque button rows with ListItem-pattern styling: left-border accent on
  selection, status dots, design-token colors (bgColors, textColors, borderColors)
- Add keyboard navigation (Enter/Space) and proper hover feedback
- Use @agenta/ui design tokens instead of hard-coded bg-white/CSS variables
- Extract DeliveryListItem into its own component for clarity
…ords

Authorization tokens and HMAC signatures were stored in plaintext in
delivery data and exposed in the logs tab JSON viewer.

Backend: redact Authorization and X-Agenta-Signature values before
persisting delivery records (data.headers gets redacted copy, the
actual HTTP request still uses full headers via request_headers).

Frontend: sanitize delivery JSON before display as defence-in-depth
for older delivery records created before the backend fix.
Constrain overflow to the delivery list and JSON editor so the drawer stays stable as logs accumulate. Keep delivery redaction backend-only and document the current first-page windowing behavior for logs.
…nto HEAD

# Conflicts:
#	api/oss/src/core/webhooks/delivery.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant