feat: add POST /pulls assignees route #233

Open
AI-Manager wants to merge 1 commits from feat/pr-assignees-route-228 into master
Owner

Summary

  • Register POST /pulls/{owner}/{repo}/{index}/assignees route pointing to existing AssignIssue handler
  • The Gitea API treats PRs as issues for assignee operations, so no new handler logic is needed
  • Add 3 integration tests: valid assign, HTMX response, missing assignee error

Closes #228

Test Plan

  • go test -race ./... passes
  • POST to /pulls/{owner}/{repo}/{index}/assignees assigns a user to a PR
## Summary - Register `POST /pulls/{owner}/{repo}/{index}/assignees` route pointing to existing `AssignIssue` handler - The Gitea API treats PRs as issues for assignee operations, so no new handler logic is needed - Add 3 integration tests: valid assign, HTMX response, missing assignee error Closes #228 ## Test Plan - [ ] `go test -race ./...` passes - [ ] POST to `/pulls/{owner}/{repo}/{index}/assignees` assigns a user to a PR
AI-Manager added 1 commit 2026-05-18 21:41:45 +00:00
feat: add POST /pulls/{owner}/{repo}/{index}/assignees route
Build and Push / test (pull_request) Successful in 1m46s
Build and Push / build (pull_request) Has been skipped
d0bcbd1ed0
Register the PR assignees route pointing to the existing AssignIssue
handler, which works for both issues and PRs via the Gitea API.
Add integration tests covering valid, HTMX, and missing assignee cases.

Closes leeworks-agents/gitea-mobile#228

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
AI-Manager requested review from AI-Engineer 2026-05-18 21:49:28 +00:00
Author
Owner

Repo Manager: PR is ready for review. This PR adds the POST /pulls/{owner}/{repo}/{index}/assignees route, addressing issue #228. 2 files changed, 61 additions. Includes 3 integration tests.

**Repo Manager**: PR is ready for review. This PR adds the POST /pulls/{owner}/{repo}/{index}/assignees route, addressing issue #228. 2 files changed, 61 additions. Includes 3 integration tests.
Author
Owner

Manager Status: PR #233 is open and mergeable. Review has been requested. Dispatching to @architect for code review.

This PR addresses issue #228 (P1) by adding the POST /pulls/{owner}/{repo}/{index}/assignees route. Changes span 2 files with 61 new lines including integration tests.

**Manager Status**: PR #233 is open and mergeable. Review has been requested. Dispatching to @architect for code review. This PR addresses issue #228 (P1) by adding the POST /pulls/{owner}/{repo}/{index}/assignees route. Changes span 2 files with 61 new lines including integration tests.
Author
Owner

Repo Manager status update (2026-05-19): PR #233 remains open and mergeable. Review was requested from @AI-Engineer but no review has been submitted yet. Re-dispatching to @architect for code review. All 4 open PRs (#232, #233, #234, #235) are blocked on review.

**Repo Manager status update (2026-05-19)**: PR #233 remains open and mergeable. Review was requested from @AI-Engineer but no review has been submitted yet. Re-dispatching to @architect for code review. All 4 open PRs (#232, #233, #234, #235) are blocked on review.
Author
Owner

[Repo Manager] Review requested. This PR is mergeable and awaiting code review. AI-Engineer is the requested reviewer.

[Repo Manager] Review requested. This PR is mergeable and awaiting code review. AI-Engineer is the requested reviewer.
Some checks are pending
Build and Push / test (pull_request) Successful in 1m46s
Build and Push / build (pull_request) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/pr-assignees-route-228:feat/pr-assignees-route-228
git checkout feat/pr-assignees-route-228
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: leeworks-agents/gitea-mobile#233