Skip to content

Commit 3108e8c

Browse files
github-actions[bot]stephentoubCopilot
authored
Update @github/copilot to 1.0.79 (#2306)
* Update @github/copilot to 1.0.79 - Updated nodejs and test harness dependencies - Re-ran code generators - Formatted generated code * Fix flaky Node cleanup test Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 8d0a9cc commit 3108e8c

9 files changed

Lines changed: 120 additions & 115 deletions

File tree

java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
DO NOT EDIT MANUALLY. Updated by the update-copilot-dependency
8989
workflow.
9090
-->
91-
<readonly-copilot-sdk-ref-impl-version-from-lastmerge-file-updated-by-reference-impl-sync>^1.0.79-9</readonly-copilot-sdk-ref-impl-version-from-lastmerge-file-updated-by-reference-impl-sync>
91+
<readonly-copilot-sdk-ref-impl-version-from-lastmerge-file-updated-by-reference-impl-sync>^1.0.79</readonly-copilot-sdk-ref-impl-version-from-lastmerge-file-updated-by-reference-impl-sync>
9292

9393
</properties>
9494

java/scripts/codegen/package-lock.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

java/scripts/codegen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"generate:java": "tsx java.ts"
88
},
99
"dependencies": {
10-
"@github/copilot": "^1.0.79-9",
10+
"@github/copilot": "^1.0.79",
1111
"json-schema": "^0.4.0",
1212
"tsx": "^4.23.1"
1313
}

nodejs/package-lock.json

Lines changed: 36 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"author": "GitHub",
5757
"license": "MIT",
5858
"dependencies": {
59-
"@github/copilot": "^1.0.79-9",
59+
"@github/copilot": "^1.0.79",
6060
"koffi": "^3.1.0",
6161
"vscode-jsonrpc": "^8.2.1",
6262
"zod": "^4.3.6"

nodejs/samples/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodejs/test/e2e/client.e2e.test.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { ChildProcess } from "child_process";
2-
import { describe, expect, it, onTestFinished } from "vitest";
2+
import { describe, expect, it, onTestFinished, vi } from "vitest";
33
import { approveAll, CopilotClient, RuntimeConnection } from "../../src/index.js";
44
import { isInProcessTransport } from "./harness/sdkTestContext.js";
55

@@ -95,7 +95,12 @@ describe("Client", () => {
9595
const cliProcess = (client as any).cliProcess as ChildProcess;
9696
expect(cliProcess).toBeDefined();
9797
cliProcess.kill("SIGKILL");
98-
await new Promise((resolve) => setTimeout(resolve, 100));
98+
await vi.waitFor(
99+
() => {
100+
expect((client as unknown as { state: string }).state).toBe("disconnected");
101+
},
102+
{ timeout: 10_000 }
103+
);
99104

100105
const errors = await client.stop();
101106
if (errors.length > 0) {

0 commit comments

Comments
 (0)