Make repository identity host-aware across all GitHub surfaces
Generalize the auth-gated enterprise resolver to any remote and build a cached hosted-identity family (origin/issue/candidates/source) on top of it, then migrate every github.com-only consumer: Tasks listing/counting, branch-to-PR discovery, push targets, fork upstream, issue operations, Projects, web links, avatars, and PR-link facts. Scope the rate-limit breaker probe per runtime:host and classify WSL UNC cwds correctly. Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
@@ -603,6 +603,7 @@ import {
|
||||
import type {
|
||||
ClearProjectItemFieldArgs,
|
||||
GetProjectViewTableArgs,
|
||||
ListAccessibleProjectsArgs,
|
||||
ListAssignableUsersBySlugArgs,
|
||||
ListIssueTypesBySlugArgs,
|
||||
ListLabelsBySlugArgs,
|
||||
@@ -14831,8 +14832,10 @@ export class OrcaRuntimeService {
|
||||
)
|
||||
}
|
||||
|
||||
async listGitHubProjects(): Promise<Awaited<ReturnType<typeof listAccessibleProjects>>> {
|
||||
return listAccessibleProjects()
|
||||
async listGitHubProjects(
|
||||
args?: ListAccessibleProjectsArgs
|
||||
): Promise<Awaited<ReturnType<typeof listAccessibleProjects>>> {
|
||||
return listAccessibleProjects(args)
|
||||
}
|
||||
|
||||
async listGitHubLabelsBySlug(
|
||||
|
||||
Reference in New Issue
Block a user