Skip to content

Commit 7333b3c

Browse files
Copilotrebornix
andauthored
Add waitRepoManagerInitialization to provideChatSessions method (#7433)
* Initial plan * Add waitRepoManagerInitialization to provideChatSessions method * Remove test file as requested Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: rebornix <876920+rebornix@users.noreply.github.com>
1 parent 600fcc5 commit 7333b3c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/github/copilotRemoteAgent.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -779,6 +779,8 @@ export class CopilotRemoteAgentManager extends Disposable {
779779
return [];
780780
}
781781

782+
await this.waitRepoManagerInitialization();
783+
782784
const codingAgentPRs = await capi.getAllCodingAgentPRs(this.repositoriesManager);
783785
return await Promise.all(codingAgentPRs.map(async session => {
784786
const timeline = await session.getTimelineEvents(session);

0 commit comments

Comments
 (0)