From 856b880ad5ff762dc404a224aeacf456b5f9c014 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:39:19 +0000 Subject: [PATCH 1/3] Initial plan From ebf992ca262e81eaef9e4234b07d5bbf9da7a094 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 13:46:53 +0000 Subject: [PATCH 2/3] Pin tutorial pack in CLI authentication tests --- .../test/vscode-tests/cli-integration/run-cli.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts b/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts index 326cfdf4892..4a7cbf4ebc8 100644 --- a/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts +++ b/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts @@ -138,7 +138,7 @@ describe("Use cli", () => { .spyOn(authentication, "getSession") .mockResolvedValue(undefined); - await cli.packDownload(["codeql/tutorial"]); + await cli.packDownload(["codeql/tutorial@0.0.11"]); expect(getSession).toHaveBeenCalledTimes(1); expect(getSession).toHaveBeenCalledWith( "github", @@ -165,7 +165,7 @@ describe("Use cli", () => { scopes: ["read:packages"], }); - await cli.packDownload(["codeql/tutorial"]); + await cli.packDownload(["codeql/tutorial@0.0.11"]); expect(getSession).toHaveBeenCalledTimes(2); expect(getSession).toHaveBeenCalledWith( "github", From 58e29b1d306bbde3f67464a4ae8a96cc85391b2f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 13 Aug 2026 14:54:02 +0000 Subject: [PATCH 3/3] Document tutorial pack version pin Co-authored-by: cklin <1418580+cklin@users.noreply.github.com> --- .../ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts b/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts index 4a7cbf4ebc8..a2656edc44d 100644 --- a/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts +++ b/extensions/ql-vscode/test/vscode-tests/cli-integration/run-cli.test.ts @@ -130,6 +130,8 @@ describe("Use cli", () => { }, ); + // Pin this pack because these tests exercise authentication, not registry compatibility. + // Remove the pin once every supported CLI can download the latest tutorial pack. describe("github authentication", () => { itWithCodeQL()( "should not use authentication if there are no credentials",