Skip to content

Commit 8d8fa5f

Browse files
fix(worker): pass logger to getAuthCredentialsForRepo during repo sync (#1300)
* fix(worker): pass logger to getAuthCredentialsForRepo during repo sync Without a logger, the debug lines in getAuthCredentialsForRepo (e.g. "Using GitHub App for service auth...") were no-ops during indexing, hiding which auth branch was taken when diagnosing sync failures. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs: add CHANGELOG entry for #1300 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * docs: remove CHANGELOG entry for #1300 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent b4c4bf7 commit 8d8fa5f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/backend/src/repoIndexManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export class RepoIndexManager {
351351

352352
const metadata = repoMetadataSchema.parse(repo.metadata);
353353

354-
const credentials = await getAuthCredentialsForRepo(repo);
354+
const credentials = await getAuthCredentialsForRepo(repo, logger);
355355
const cloneUrlMaybeWithToken = credentials?.cloneUrlWithToken ?? repo.cloneUrl;
356356
const authHeader = credentials?.authHeader ?? undefined;
357357

0 commit comments

Comments
 (0)