Azure DevOps backend: pull request operations #58

Merged
dario merged 1 commit from dario/azure-prs into main 2026-11-23 13:09:59 +01:00
Owner
  • CreatePullRequest, GetPullRequest (the conversation from the threads
    without a file position, without system comments and review
    summaries), ListPullRequests (author and labels filtered here) and
    ListReviews (the factory's review threads and other reviewers' votes).
  • States: active is open, completed is closed and merged, abandoned is
    closed. Forks come from forkSource.
  • Descriptions over 4000 characters, Azure DevOps' limit, are refused
    with a clear error instead of truncated.
  • GetPullRequestDiff builds the unified diff (git's format) from the
    latest iteration's changed files and their contents at the merge base
    and the head, with a Myers line diff: Azure DevOps has no diff API, and
    the dispatcher needs every changed path to detect agent configuration
    changes. Tested by applying the diffs back, and checked with git apply.
  • GetCIStatus reports none, with a note (ADR 0018).

PostReview stays "not implemented yet"; it comes with the comment
threads in the next change.

Closes #50

Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com

- CreatePullRequest, GetPullRequest (the conversation from the threads without a file position, without system comments and review summaries), ListPullRequests (author and labels filtered here) and ListReviews (the factory's review threads and other reviewers' votes). - States: active is open, completed is closed and merged, abandoned is closed. Forks come from forkSource. - Descriptions over 4000 characters, Azure DevOps' limit, are refused with a clear error instead of truncated. - GetPullRequestDiff builds the unified diff (git's format) from the latest iteration's changed files and their contents at the merge base and the head, with a Myers line diff: Azure DevOps has no diff API, and the dispatcher needs every changed path to detect agent configuration changes. Tested by applying the diffs back, and checked with git apply. - GetCIStatus reports none, with a note (ADR 0018). PostReview stays "not implemented yet"; it comes with the comment threads in the next change. Closes #50 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CreatePullRequest, GetPullRequest (the conversation from the threads
  without a file position, without system comments and review
  summaries), ListPullRequests (author and labels filtered here) and
  ListReviews (the factory's review threads and other reviewers' votes).
- States: active is open, completed is closed and merged, abandoned is
  closed. Forks come from forkSource.
- Descriptions over 4000 characters, Azure DevOps' limit, are refused
  with a clear error instead of truncated.
- GetPullRequestDiff builds the unified diff (git's format) from the
  latest iteration's changed files and their contents at the merge base
  and the head, with a Myers line diff: Azure DevOps has no diff API, and
  the dispatcher needs every changed path to detect agent configuration
  changes. Tested by applying the diffs back, and checked with git apply.
- GetCIStatus reports none, with a note (ADR 0018).

PostReview stays "not implemented yet"; it comes with the comment
threads in the next change.

Closes #50

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
dario merged commit 8bd6687b72 into main 2026-11-23 13:09:59 +01:00
dario deleted branch dario/azure-prs 2026-11-23 13:09:59 +01:00
Sign in to join this conversation.
No reviewers
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!58
No description provided.