fix(pr_merge): send Gitea's merge_title_field (gitea-mcp#77) #82

Merged
mathias merged 1 commits from wt/merge-title-field into main 2026-10-10 08:50:06 +00:00
Owner

Closes #77. Gitea 1.27's MergePullRequestOption has merge_title_field; the tool sent merge_message_title, which Gitea drops without an error, so a custom merge title never took effect. The tool argument keeps its name; the wire field is now Gitea's. New test checks the field name on the wire (the existing fake never did). Verified against the live swagger. task check green locally.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SZkhi49hfeSqBp5aZJNXsM


Created via git-mcp on behalf of @mathias

Closes #77. Gitea 1.27's `MergePullRequestOption` has `merge_title_field`; the tool sent `merge_message_title`, which Gitea drops without an error, so a custom merge title never took effect. The tool argument keeps its name; the wire field is now Gitea's. New test checks the field name on the wire (the existing fake never did). Verified against the live swagger. `task check` green locally. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01SZkhi49hfeSqBp5aZJNXsM --- _Created via git-mcp on behalf of @mathias_
mathias added 1 commit 2026-10-10 08:49:01 +00:00
fix(pr_merge): send Gitea's merge_title_field; merge_message_title was silently ignored (gitea-mcp#77)
CD / Lint / Test / Vet (pull_request) Successful in 28s
CD / Build & Import (pull_request) Skipped
CD / Deploy via GitOps (pull_request) Skipped
eb8e6d5169
Gitea 1.27's MergePullRequestOption has merge_title_field, not merge_message_title; an unknown field is
dropped without an error, so a custom merge title never took effect. The tool's argument keeps its name.
The new test checks the field name on the wire (the existing fake never did).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SZkhi49hfeSqBp5aZJNXsM
mathias merged commit 5c6c4f1e1e into main 2026-10-10 08:50:06 +00:00
Sign in to join this conversation.