Skip to content

chore(agents): delete dead /webhooks/zapier route (foreman-g7bv) - #56

Merged
hamchowderr merged 1 commit into
mainfrom
claude/project-thread-ktl133
Oct 22, 2026
Merged

hamchowderr merged 1 commit into
mainfrom
claude/project-thread-ktl133

Conversation

@hamchowderr

Copy link
Copy Markdown
Owner

Before: the agent server exposed POST /webhooks/zapier, a shared-secret endpoint that started a webhook-handler workflow which only logged the payload. Nothing called it.

After: the route, the workflow, its registration in the Mastra instance, ZAPIER_WEBHOOK_SECRET and the doc rows that mentioned them are gone. App events keep arriving through Zapier trigger inboxes, which Foreman already uses.

How: deleted routes/webhooks.ts and workflows/webhook-handler.ts, and removed their imports, the /webhooks prefix in CUSTOM_ROUTE_PREFIXES, the env var in lib/env.ts and .env.example, plus the CLAUDE.md and docs-site rows. Finding 9b of the Mastra/Zapier hand-rolled audit.

Checked locally: tsc --noEmit clean, Biome clean, vitest 553 passed / 10 skipped.


Generated by Claude Code

The shared-secret endpoint only started a workflow that logged the
payload, and nothing referenced it. App events reach Foreman through
Zapier trigger inboxes instead. Removes the route, the webhook-handler
workflow, its registration, ZAPIER_WEBHOOK_SECRET and the doc rows.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JGhMwdrzUdii5pspk2YmwG
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
foreman Ready Ready Preview Oct 20, 2026 2:04pm UTC

Request Review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-20T14:10:41.184659Z 446fadc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@hamchowderr
hamchowderr merged commit 46a231b into main Oct 22, 2026
8 checks passed

This branch was successfully deployed

1 active deployment
Preview — 446fadca Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants