Skip to content

[fix] Resolve most issues with shady webhooks#3975

Open
jp-agenta wants to merge 15 commits intorelease/v0.94.4from
fix/shady-webhooks
Open

[fix] Resolve most issues with shady webhooks#3975
jp-agenta wants to merge 15 commits intorelease/v0.94.4from
fix/shady-webhooks

Conversation

@jp-agenta
Copy link
Member

@jp-agenta jp-agenta commented Mar 12, 2026

@vercel
Copy link

vercel bot commented Mar 12, 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:30pm

Request Review

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 12, 2026
@dosubot dosubot bot added the bug Something isn't working label Mar 12, 2026
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 12, 2026

Railway Preview Environment

Preview URL https://gateway-production-3481.up.railway.app/w
Project agenta-oss-pr-3975
Image tag pr-3975-6256478
Status Deployed
Railway logs Open logs
Workflow logs View workflow run
Updated at 2026-03-13T17:33:12.040Z

@jp-agenta jp-agenta changed the base branch from main to release/v0.94.3 March 12, 2026 16:27
@jp-agenta jp-agenta requested a review from mmabrouk March 12, 2026 16:37
@jp-agenta jp-agenta changed the title [fix] most issues with shady webhooks [fix] Resolve most issues with shady webhooks Mar 12, 2026
devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

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

Thanks @jp for the PR

The UX however is now off:

If I create a new automation, it shows as pending. There is no way for me as a user to discover that I need to test it first to activate it. If we want to enforce testing first, we need to disable the create automation button until the user clicks test and it is successful. Or we have a modal on click, that forces the user to go through testing.

The second flow that breaks is updating. If I have an automation and I update it, it moves back to pending, and I don’t have any way of knowing that 1) it was actually disabled 2) I need to test it to enable it. This is more tricky. Here are the solutions:

  1. we remove the set back to pending when updating
  2. We use a modal in both cases a modal forcing the user to test as a gateway to commit the action

devin-ai-integration[bot]

This comment was marked as resolved.

jp-agenta and others added 2 commits March 12, 2026 19:54
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Mar 13, 2026
Remove the webhook validity gate so saved automations keep delivering after create and edit. Restore in-drawer testing and show post-save test feedback so users still get immediate verification without a blocking pending state.
@dosubot dosubot bot added size:XXL This PR changes 1000+ lines, ignoring generated files. and removed size:XL This PR changes 500-999 lines, ignoring generated files. labels Mar 13, 2026
devin-ai-integration[bot]

This comment was marked as resolved.

@mmabrouk mmabrouk changed the base branch from release/v0.94.3 to release/v0.94.4 March 13, 2026 13:50
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 13, 2026
Authorization tokens and HMAC signatures were being stored in plaintext
in the delivery data.headers field, which is persisted to the database
and returned via the delivery query API.

Delivery records are audit logs — they should never contain secrets.
The actual HTTP request still uses the full unredacted headers; only the
stored copy is sanitized.
…ecrets

fix(api): redact sensitive headers from webhook delivery records
devin-ai-integration[bot]

This comment was marked as resolved.

Copy link
Contributor

@junaway junaway left a comment

Choose a reason for hiding this comment

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

test should be required in api post edit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:XXL This PR changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants