Repository navigation
Description
What happened
On the desktop app (Windows), the Issues page never loads issues for Azure DevOps projects. It spins and then appears to time out. Azure DevOps pull requests load fine on the same machine and account. It has never worked since the Issues page was added.
Diagnosis
One issues.list RPC runs AzureDevOpsIssueTracker.listIssues for each Azure DevOps scope (13 on this machine). Each listIssues runs three az devops invoke processes one after another: workitemtypes (via closedStates), wiql, then workitemsbatch. Each takes about 4-5 s on Windows, so one scope takes about 13-20 s. IssueService reads scopes with SCOPE_CONCURRENCY = 4 (apps/server/src/issue/IssueService.ts:51), so 13 scopes take about 4 rounds, and the one request that finished took 58 s.
The page then cancels its own request: useLiveRefresh(list.refresh, ...) in IssuesPage.tsx refreshes when the user comes back to the view if 10 s have passed (LIVE_REFRESH_MIN_INTERVAL_MS), and the refresh cancels the request in flight. 3 of the 4 loads this morning were cancelled (ws.rpc.issues.list exit Interrupted after 22 s, 27 s and 82 s, with all child az processes interrupted).
Possible improvements:
- Cache
workitemtypes/ closed state names per organization/project. They are read again on every list and everygetIssue. - Run fewer
azprocesses per scope, or run more scopes at once for Azure DevOps (process startup dominates, not the API). - Don't let a live refresh cancel a first load that is still running, or keep the scopes that already finished.
Nothing on main after the affected build changes this path. #38431 skips getViewer, but Azure DevOps' getViewer already returns @Me immediately.
Steps to reproduce
- On Windows, use the desktop app with
az+ theazure-devopsextension logged in. - Add many projects whose remotes are Azure DevOps repos in different Azure DevOps projects (13 here).
- Open the Issues page.
- Switch to another window or view and come back after more than 10 s while it is still loading.
- Result: the list is reloaded, the request in flight is cancelled, and no issues appear. Left untouched, the first load takes about 60 s.
Version
0.1.11-nightly.20261118.4864 (desktop app's local server). Triage CLI: 0.1.10.
Environment
Windows 11 Pro 10.0.26300 x64; desktop app connected to its local server; Node v26.13.1; azure-cli 2.83.0, azure-devops extension 1.0.6.
Evidence
server.trace.ndjson, ws.rpc.issues.list root spans on 2026-11-18 (local time):
08:40:11 82.0 s Interrupted
08:41:33 22.3 s Interrupted
08:41:55 27.6 s Interrupted
08:42:22 58.3 s Success (13 x AzureDevOpsIssueTracker.listIssues, 36 x AzureDevOpsCli.execute)
Typical spans in the successful trace:
AzureDevOpsIssueTracker.listIssues 8-19 s each
AzureDevOpsIssueTracker.invokeWithBody ~4.6 s
AzureDevOpsCli.execute ~4.6 s
Interrupted listIssues spans end in InterruptError: All fibers interrupted without error at VcsProcess.run / VcsProcess.spawn, under IssueService.list (Interrupted).
Related issues
#38015, #38062 (earlier Azure DevOps issue-list failures, fixed); #21888 (one az process per PR, the same per-call cost on the PR side).
Fix applied or workaround
None applied. Opening the Issues page and leaving it in focus for about a minute sometimes lets the first load finish.
Filed by
Claude Code (Claude Opus 5.5, claude-opus-5-5) via t3 triage.
Activity