feat(web): create webhook automations and inspect their deliveries #15088
Mergedjuliusmarmingemerged 8 commits into
t3code/webhooks-mobile fromrefs/pull/15088/headmerged by juliusmarminge View on GitHubjuliusmarminge changed the title
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:trusted
juliusmarminge added labelsmacroscope-review
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:XL
- apps/web/src/components/settings/ScheduledTasksSettings.tsx line 552OutdatedResolvedby juliusmarminge@@ -474,0 +532,21 @@532+ }),533+ );534+ const deliveries = deliveriesQuery.data?.deliveries ?? null;535+ const selected = selectedQuery.data?.delivery ?? null;536+ const error = selectedId === null ? deliveriesQuery.error : selectedQuery.error;537+538+ return (539+ <Dialog540+ open541+ onOpenChange={(next) => {542+ if (!next) onClose();543+ }}544+ >545+ <DialogPopup className="max-w-2xl">546+ <DialogHeader>547+ <DialogTitle>Deliveries · {task.title}</DialogTitle>548+ <DialogDescription>Recent requests to this task's webhook URL.</DialogDescription>549+ </DialogHeader>550+ <DialogPanel>551+ {error ? <p className="text-sm text-destructive">{error}</p> : null}552+ {selectedId !== null && selected === null ? (
- docs/user/project-settings.md lines 68 to 69OutdatedResolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -63,3 +63,7 @@6363 You can edit, pause, resume, run immediately, or delete a task from the list.6464 Leaving an edited form asks before discarding unsaved changes.656566+## Webhook automations67+68+Choose **On webhook** as a task's schedule to run it whenever another service69+calls its URL, such as GitHub on a new pull request or a CI job that failed.
- apps/web/src/components/settings/ScheduledTasksSettings.tsx lines 536 to 556Resolvedby coderabbitai[bot](GitHub profile, opens in a new tab)@@ -480,0 +536,21 @@536+ const error = selectedId === null ? deliveriesQuery.error : selectedQuery.error;537+538+ return (539+ <Dialog540+ open541+ onOpenChange={(next) => {542+ if (!next) onClose();543+ }}544+ >545+ <DialogPopup className="max-w-2xl">546+ <DialogHeader>547+ <DialogTitle>Deliveries · {task.title}</DialogTitle>548+ <DialogDescription>Recent requests to this task's webhook URL.</DialogDescription>549+ </DialogHeader>550+ <DialogPanel>551+ {error ? <p className="text-sm text-destructive">{error}</p> : null}552+ {selectedId !== null && selected === null && selectedQuery.error === null ? (553+ <p className="text-sm text-muted-foreground" role="status">554+ Loading delivery…555+ </p>556+ ) : selected ? (
- apps/web/src/components/settings/ScheduledTasksSettings.tsx lines 785 to 785OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -527,3 +781,5 @@527781 draft.editingId !== null &&528782 tasksQuery.data !== null &&529783 !tasksQuery.data.tasks.some((entry) => entry.id === draft.editingId);784+ // The live row, so a rotated URL shows up without reopening the dialog.785+ const liveTask = tasksQuery.data?.tasks.find((entry) => entry.id === draft.editingId) ?? task;
juliusmarminge merged thisea4b443
juliusmarminge closed this
Sign in to join this conversation.





Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result:
b591463· Source CI: successScenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.