We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2121aaa commit 6b4533bCopy full SHA for 6b4533b
src/github/copilotRemoteAgent.ts
@@ -842,7 +842,6 @@ export class CopilotRemoteAgentManager extends Disposable {
842
}
843
844
const { number } = jobInfo.pull_request;
845
- this._onDidCreatePullRequest.fire(number);
846
847
// Find the actual PR to get the HTML URL
848
const pullRequest = await this.findPullRequestById(number, true);
@@ -853,6 +852,7 @@ export class CopilotRemoteAgentManager extends Disposable {
853
852
854
chatStream?.progress(vscode.l10n.t('Attaching to session'));
855
await this.waitForQueuedToInProgress(response.session_id, token);
+ this._onDidCreatePullRequest.fire(number);
856
return {
857
state: 'success',
858
number,
0 commit comments