1.2 KiB
1.2 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 02-rest-client | REST client | done | 1 |
|
plan.md | ../../specs/integrations/requirements/azure-devops-integration.md |
Task 02: REST Client
Acceptance
- A PAT-authenticated HTTP client reads projects, repositories, WIQL results, work-item batches, PRs, reviewers, threads, linked work items, and policy evaluations.
- Requests are context-aware and bounded; credentials and upstream response bodies are redacted from user-visible errors.
- WIQL hydration preserves result order, batches at 200, and tolerates omitted work items.
Verification
rtk go test ./internal/azuredevops/... -run 'TestRESTClient'fromapps/backend.
Files Likely Touched
apps/backend/internal/azuredevops/client.goapps/backend/internal/azuredevops/rest_client.goapps/backend/internal/azuredevops/client_models.go- Corresponding
*_test.gofiles.
Inputs
- Spec: API Surface and Failure Modes.
- Patterns:
internal/gitlab/pat_client.goand itshttptestcoverage.
Output Contract
Report endpoints implemented, files changed, RED/GREEN commands, API-version exceptions, blockers, and set this task plus its plan checkbox to done.