Add `program_application.created` webhook and deprecate `partner.application_submitted` #4616
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.44) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.44 · 251 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.331
Shallow Review Depth
shallow_review_depth
0.289
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #4616"
general
weight: 0.35
Joker666
1. Added
program_application.created, which fires when a partner applies to a program. It covers both direct applications and applications completed after signup.partner.application_submittedis now deprecated but still fires. The new event's payload matchesGET /api/program-applications.2. In the webhook picker, new webhooks only see
program_application.created. Webhooks already subscribed to the legacy event see both, with the legacy one marked "Deprecated", so they can switch in one edit.3. Webhook pickers. The webhook form, the integration settings and the "send test webhook" modal now share one list of available events.
4. The partner network activity card now shows separate empty, error and loading states. When the route returns
null, the card shows "No network activity" instead of loading forever. SWR doesn't retry on 404.5. The network-activity route now accepts a partner who has a program application or a program enrollment. Before, it required an enrollment. For a partner with neither, it returns 200 with
nullinstead of a 404.6. The dev seed scripts now create program applications and link them to enrollments, so local data matches the new application-based check.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
New Features
Added the
program_application.createdwebhook event, with support for Slack and Zapier, sample payloads, and webhook configuration.Webhook trigger pickers show events available for the selected program and integration, and identify the legacy application event as deprecated with its replacement.
Network activity summaries are available for partners who have applied to a program, with distinct empty, loading, and error states.
Bug Fixes
Application social details no longer override a partner’s saved social platforms; missing platforms can be filled from application details.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->