File tree Expand file tree Collapse file tree
packages/source-control-github/src/server Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ export function environmentToken(
129129 return variable === null ? null : ( env [ variable ] ?. trim ( ) ?? null ) ;
130130}
131131
132- /** @public Service construction is part of the canonical Effect module API. */
132+ /** @public */
133133export const make = Effect . gen ( function * ( ) {
134134 const sourceControlHost = yield * SourceControlHost . SourceControlHost ;
135135 const process = sourceControlHost . process ;
Original file line number Diff line number Diff line change @@ -585,13 +585,7 @@ export const make = Effect.gen(function* () {
585585 ) ;
586586 } ) ;
587587
588- /**
589- * Head lookups to one host under one credential share aliased documents: the resolver batches by
590- * the host's endpoint and `batchKey`. Each lookup has its own `repository` root, so lookups on
591- * different repositories may share a document, and a repository GitHub cannot find fails only
592- * its own. Interactive and background lookups never share one, since they use separate
593- * resolvers, so a document is sent under one reserve setting.
594- */
588+ // Batch by host/credential; isolate missing repositories and interactive/background reserves.
595589 const headResolver = GraphQLResolver . aliased ( client . PullRequestsByHead , {
596590 batchKey : GitHubGraphQlClient . batchKey ,
597591 } ) . pipe ( RequestResolver . batchN ( HEAD_LOOKUPS_PER_DOCUMENT ) ) ;
You can’t perform that action at this time.
0 commit comments