perf(terminal): keep graph hydration host scans narrow

This commit is contained in:
Brennan Benson
2026-08-16 18:45:53 -07:00
parent c5ffd8d5ea
commit b2dead2676
+7 -1
View File
@@ -5874,7 +5874,13 @@ export class OrcaRuntimeService {
] as const
})
)
const hostIds = this.listKnownExecutionHostIds()
const hostIds = new Set<ExecutionHostId>([LOCAL_EXECUTION_HOST_ID])
for (const repo of repos) {
hostIds.add(getRepoExecutionHostId(repo))
}
for (const hostId of this.store?.getWorkspaceSessionHostIds?.() ?? []) {
hostIds.add(hostId)
}
const targets = new Map<string, WorkspaceSessionState>()
for (const hostId of hostIds) {