Files
gitea-mcp/internal/tools
mathiasandClaude Opus 4.8 4ebea7d023
CD / Lint / Test / Vet (push) Successful in 6s
CD / Build & Import (push) Successful in 21s
CD / Deploy via GitOps (push) Has been skipped
fix(workflow_run_trigger): 204 dispatch is success; resolve run via listing (#41)
Gitea's workflow_dispatch endpoint returns 204 No Content with no Location
header. DispatchWorkflow required that header, so every successful dispatch
errored with "missing Location header" and never yielded a run ID — making
the tool unusable for CAD dispatch.

- DispatchWorkflow now returns error-only; 204 = success, no Location needed.
  Body already carried ref+inputs; kept and covered by test.
- Tool snapshots the newest existing workflow_dispatch run before dispatch,
  then polls ListWorkflowRuns after and returns the newest run with ID above
  that baseline (avoids returning a stale prior run). Falls back to an honest
  "dispatched, run not yet registered" result rather than failing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-03 21:12:45 +02:00
..
2026-05-06 22:42:38 +02:00
2026-05-06 22:38:15 +02:00
2026-05-06 22:49:50 +02:00
2026-05-06 22:49:50 +02:00
2026-05-06 22:51:21 +02:00
2026-05-06 22:51:21 +02:00
2026-06-02 16:11:33 +02:00
2026-05-04 22:21:20 +02:00
2026-05-04 22:21:20 +02:00
2026-05-06 22:46:11 +02:00
2026-05-06 22:46:11 +02:00
2026-05-06 22:48:02 +02:00
2026-05-06 22:48:02 +02:00
2026-05-04 22:08:24 +02:00
2026-05-04 22:08:24 +02:00
2026-05-04 22:07:44 +02:00
2026-05-06 22:59:51 +02:00
2026-05-06 22:59:51 +02:00
2026-05-06 22:54:22 +02:00
2026-05-06 22:54:22 +02:00