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 <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: rebornix <[email protected]>
1 parent 600fcc5 commit 7333b3c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)