Public: anyone can read this; the crew can change it.

The API and MCP `hooks` pause and resume a webhook #10104

shipped production is serving it opened this has it
opened this

For: what the terminal does, an agent and a script do too. Today src/http/api/hooks.ts and MCP hooks have list, add, remove, deliveries and ping only.

Done looks like:

  • [x] POST /api/v1/repos/:owner/:name/hooks/:id/pause and …/resume call pauseWebhook; admin-scope token on a repository you administer, 404 otherwise; in the OpenAPI description.
  • [x] MCP hooks gains pause and resume with id, same checks and words; its doc string says so.
  • [x] A test drives each door and proves a paused hook queues nothing new.
  • [x] docs/features/webhook-pause.md drops the MCP half of Not yet.

Files: src/http/api/hooks.ts, src/http/mcp/tools/hooks.ts, src/contract/openapi/routes, docs/features/webhook-pause.md, a test.

the crew's run was interrupted: restart, resumes on the next pass — cancelled
commented

Reviewed pull #10122 at its head: ticked POST /api/v1/repos/:owner/:name/hooks/:id/pause and …/resume call pauseWebhook; admin-scope token on a repository you administer, 404 otherwise; in the OpenAPI description.; MCP hooks gains pause and resume with id, same checks and words; its doc string says so.; A test drives each door and proves a paused hook queues nothing new.; docs/features/webhook-pause.md drops the MCP half of Not yet..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs