Azure DevOps backend: pull request operations #50

Closed
opened 2026-11-20 15:15:01 +01:00 by dario · 0 comments
Owner

Part of #23. After #49 is merged.

Goal

The factory can open and read pull requests on Azure DevOps.

Required facts

  • The backend from #<2> lives in internal/forge/azuredevops; these methods return "not supported yet" there.
  • forge.PullRequest (internal/forge/forge.go:173) includes the conversation in Comments. On Azure it comes from the pull request threads.
  • No CI on Azure for now.

Changes

  • CreatePullRequest, GetPullRequest (including comments from the threads), GetPullRequestDiff, ListPullRequests.
  • ListReviews: reviewer votes and their comments.
  • GetCIStatus: returns CINone.

Tests

  • The matching forgetest groups run against the httptest fake (no longer skipped).

Docs (same pull request)

  • README and docs/using-the-factory.md say what works on Azure now.

Done criteria

  • just check passes.
Part of #23. After #49 is merged. ## Goal The factory can open and read pull requests on Azure DevOps. ## Required facts - The backend from #<2> lives in `internal/forge/azuredevops`; these methods return "not supported yet" there. - `forge.PullRequest` (internal/forge/forge.go:173) includes the conversation in `Comments`. On Azure it comes from the pull request threads. - No CI on Azure for now. ## Changes - `CreatePullRequest`, `GetPullRequest` (including comments from the threads), `GetPullRequestDiff`, `ListPullRequests`. - `ListReviews`: reviewer votes and their comments. - `GetCIStatus`: returns `CINone`. ## Tests - The matching `forgetest` groups run against the `httptest` fake (no longer skipped). ## Docs (same pull request) - README and `docs/using-the-factory.md` say what works on Azure now. ## Done criteria - `just check` passes.
dario closed this issue 2026-11-23 13:09:59 +01:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dario/factory#50
No description provided.