Skip to content

Commit 6b4533b

Browse files
authored
Most recent PR is missing from Copilot on my behalf section (#7949)
Part of #7916
1 parent 2121aaa commit 6b4533b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/copilotRemoteAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,6 @@ export class CopilotRemoteAgentManager extends Disposable {
842842
}
843843

844844
const { number } = jobInfo.pull_request;
845-
this._onDidCreatePullRequest.fire(number);
846845

847846
// Find the actual PR to get the HTML URL
848847
const pullRequest = await this.findPullRequestById(number, true);
@@ -853,6 +852,7 @@ export class CopilotRemoteAgentManager extends Disposable {
853852

854853
chatStream?.progress(vscode.l10n.t('Attaching to session'));
855854
await this.waitForQueuedToInProgress(response.session_id, token);
855+
this._onDidCreatePullRequest.fire(number);
856856
return {
857857
state: 'success',
858858
number,

0 commit comments

Comments
 (0)