7de788ceed
* feat: add cross-integration entity references * fix(web): anchor entity reference menu to composer * fix: keep Kandev tasks under @ mentions * fix: address entity reference review findings * test(e2e): use option role for prompt menu * test(e2e): update passthrough mention roles * fix: preserve queued references and paginate Azure PRs
1.6 KiB
1.6 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 06-azure-provider | Azure DevOps mention provider | completed | 2 |
|
plan.md | ../../specs/ui/entity-reference-composer.md |
Task 06: Azure DevOps Mention Provider
Acceptance
- Work-item search generates escaped WIQL internally and returns organization-scoped immutable IDs.
- PR search adds a project-level active-PR read path, filters titles server-side, and avoids browser or unbounded repository fan-out.
- Adapter respects workspace config/default project plus bounded project discovery, cancellation, caps, and safe errors.
- Provider authorizers validate organization URL/path and project scope, not only the shared host origin.
Verification
cd apps/backend && go test ./internal/azuredevops/... ./internal/mentions/...
Files likely touched
apps/backend/internal/azuredevops/client.goapps/backend/internal/azuredevops/rest_client.goapps/backend/internal/azuredevops/client_models.goapps/backend/internal/azuredevops/service_mentions.goapps/backend/internal/azuredevops/service_mentions_test.goapps/backend/internal/azuredevops/rest_client_test.goapps/backend/internal/mentions/provider_azure.goapps/backend/internal/mentions/provider_azure_test.go
Dependencies
Task 01.
Inputs
Spec all-source contract; existing workspace credential resolver, WIQL path, project/repository listing, and PR models.
Output contract
Report search/fan-out bounds and identity, files changed, exact tests, blockers, risks, and mark task/plan done.