[PR #2118] [CLOSED] fix(webhooks): handle event objects and add response tracking #1766

Closed
opened 2026-02-04 20:13:52 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/2118
Author: @Gohst101
Created: 1/18/2026
Status: Closed

Base: mainHead: main


📝 Commits (2)

  • 6fdec17 Fix: Webhooks
  • 60f9aab added webhook processing and migration comments

📊 Changes

3 files changed (+80 additions, -4 deletions)

View changed files

📝 app/Jobs/ProcessWebhook.php (+33 -3)
📝 app/Models/Webhook.php (+9 -1)
database/migrations/2026_01_17_225059_add_response_fields_to_webhooks_table.php (+38 -0)

📄 Description

What didn't work:
Webhooks weren't working and failed with no error messages.

What I did:

  • Convert event objects to arrays before further processing
  • Save the HTTP response code and error message to database
  • Added 3 database columns to collect this info

Result:
Webhooks should work fine now with accurate error messages for debugging.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/2118 **Author:** [@Gohst101](https://github.com/Gohst101) **Created:** 1/18/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`6fdec17`](https://github.com/pelican-dev/panel/commit/6fdec179ff3aa6c0506e1f3459d708986b6e60ac) Fix: Webhooks - [`60f9aab`](https://github.com/pelican-dev/panel/commit/60f9aabe9a604ae4879b2616b41e20f5b944f52a) added webhook processing and migration comments ### 📊 Changes **3 files changed** (+80 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `app/Jobs/ProcessWebhook.php` (+33 -3) 📝 `app/Models/Webhook.php` (+9 -1) ➕ `database/migrations/2026_01_17_225059_add_response_fields_to_webhooks_table.php` (+38 -0) </details> ### 📄 Description What didn't work: Webhooks weren't working and failed with no error messages. What I did: - Convert event objects to arrays before further processing - Save the HTTP response code and error message to database - Added 3 database columns to collect this info Result: Webhooks should work fine now with accurate error messages for debugging. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 20:13:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1766