Skip to content

Commit 08db7b4

Browse files
committed
fix(github): keep installation token comments within lint rules
1 parent 8ca6778 commit 08db7b4

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

‎packages/source-control-github/src/server/GitHubCredentials.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 */
133133
export const make = Effect.gen(function* () {
134134
const sourceControlHost = yield* SourceControlHost.SourceControlHost;
135135
const process = sourceControlHost.process;

‎packages/source-control-github/src/server/GitHubSourceControlProvider.ts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)