From 941a3fa991aeb97eb1ac390c65b7973b5f6de1ad Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 09:37:53 -0500 Subject: [PATCH] Pin Copilot native dependencies with the maintained lockfile refresh (#15572) Pin the three optional GitHub Copilot 1.0.88 native packages for Runner and server using the maintained lockfile workflow. Synchronize the package contract and bound initial render readiness in the deliberately throttled browser fixture. Current-head CI and focused checks pass. Co-Authored-By: Dotta Co-Authored-By: lockfile-bot Co-Authored-By: Paperclip --- packages/paperclip-runner/package.json | 5 ++ .../test/acpx-codex-package-contract.test.mjs | 6 ++- pnpm-lock.yaml | 47 +++++++++++++++++++ server/package.json | 5 ++ tests/e2e/agent-chat-sessions.spec.ts | 7 ++- 5 files changed, 67 insertions(+), 3 deletions(-) diff --git a/packages/paperclip-runner/package.json b/packages/paperclip-runner/package.json index 1e2386242da..84441365024 100644 --- a/packages/paperclip-runner/package.json +++ b/packages/paperclip-runner/package.json @@ -203,5 +203,10 @@ "typescript": "^7.0.2", "vite": "^6.1.0", "vitest": "^5.0.3" + }, + "optionalDependencies": { + "@github/copilot-darwin-arm64": "1.0.88", + "@github/copilot-darwin-x64": "1.0.88", + "@github/copilot-linux-x64": "1.0.88" } } diff --git a/packages/paperclip-runner/test/acpx-codex-package-contract.test.mjs b/packages/paperclip-runner/test/acpx-codex-package-contract.test.mjs index 6cc83159c5e..4113b0ba321 100644 --- a/packages/paperclip-runner/test/acpx-codex-package-contract.test.mjs +++ b/packages/paperclip-runner/test/acpx-codex-package-contract.test.mjs @@ -52,7 +52,11 @@ test("the runner pins every qualified ACPX production dependency", () => { assert.equal(runnerPackage.dependencies["@anthropic-ai/claude-agent-sdk"], undefined); assert.equal(rootPackage.pnpm.overrides["@agentclientprotocol/codex-acp@1.6.2>@openai/codex"], runnerPackage.dependencies["@openai/codex"]); assert.equal(rootPackage.pnpm.overrides["@agentclientprotocol/claude-agent-acp@0.73.0>@anthropic-ai/claude-agent-sdk"], "0.3.286"); - assert.equal(runnerPackage.optionalDependencies, undefined); + assert.deepEqual(runnerPackage.optionalDependencies, { + "@github/copilot-darwin-arm64": "1.0.88", + "@github/copilot-darwin-x64": "1.0.88", + "@github/copilot-linux-x64": "1.0.88", + }); assert.equal(runnerPackage.dependencies.node, undefined); assert.equal(runnerPackage.dependencies.acpx, "0.13.1"); assert.equal( diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6c0aec06bda..fdda7fe759d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -527,6 +527,16 @@ importers: smol-toml: specifier: ^1.4.2 version: 1.8.0 + optionalDependencies: + '@github/copilot-darwin-arm64': + specifier: 1.0.88 + version: 1.0.88 + '@github/copilot-darwin-x64': + specifier: 1.0.88 + version: 1.0.88 + '@github/copilot-linux-x64': + specifier: 1.0.88 + version: 1.0.88 devDependencies: '@paperclipai/paperclip-eval-kernel': specifier: workspace:* @@ -1057,6 +1067,16 @@ importers: zod: specifier: ^4.4.3 version: 4.4.3 + optionalDependencies: + '@github/copilot-darwin-arm64': + specifier: 1.0.88 + version: 1.0.88 + '@github/copilot-darwin-x64': + specifier: 1.0.88 + version: 1.0.88 + '@github/copilot-linux-x64': + specifier: 1.0.88 + version: 1.0.88 devDependencies: '@paperclipai/paperclip-runner': specifier: workspace:* @@ -2579,6 +2599,24 @@ packages: '@floating-ui/utils@0.2.12': resolution: {integrity: sha512-HpCo8tmWzLVad5s2d19EhAz5zqrrQ6s69qd6moPMQvkOuSwDT1YgRfWSVuc4ennqrgv3OHppiOGMQ7oC13yIww==} + '@github/copilot-darwin-arm64@1.0.88': + resolution: {integrity: sha512-gt52dl+ja+G88RjLuSec59fA8C9HNfdGxKwwqE7eAIJXZYSKwKvuMy4B79WlCtlpnH/QKbs5Z9VsU0BTxe3EAg==} + cpu: [arm64] + os: [darwin] + hasBin: true + + '@github/copilot-darwin-x64@1.0.88': + resolution: {integrity: sha512-GO5KwVR5vD1vNRe0jDDXFdpOHpS780ytVSRklk0DT6bK6HIpWXqbfnOasP9OZpPClaAYO4CShkGMhHv6vKRxaA==} + cpu: [x64] + os: [darwin] + hasBin: true + + '@github/copilot-linux-x64@1.0.88': + resolution: {integrity: sha512-wNigl8rqixvtYoRtygNf1NQIXx77MWC6XyqoV7fcfvSwWI3GJCltnczaNLbC611K9Hex39KyiUR5ZmGhQ+LzLw==} + cpu: [x64] + os: [linux] + hasBin: true + '@grpc/grpc-js@1.14.5': resolution: {integrity: sha512-7VZM+SVdEcUUqSQeNI3zM8Qs/BhQKZndPo2h5VkYkAM8Iz0wJIa8mKV5ekQGqG8UUsnkQ0NMxIxwkIHYvj0qOw==} engines: {node: '>=12.10.0'} @@ -10481,6 +10519,15 @@ snapshots: '@floating-ui/utils@0.2.12': {} + '@github/copilot-darwin-arm64@1.0.88': + optional: true + + '@github/copilot-darwin-x64@1.0.88': + optional: true + + '@github/copilot-linux-x64@1.0.88': + optional: true + '@grpc/grpc-js@1.14.5': dependencies: '@grpc/proto-loader': 0.8.1 diff --git a/server/package.json b/server/package.json index 42d53f18c77..7c3b0acf9db 100644 --- a/server/package.json +++ b/server/package.json @@ -171,5 +171,10 @@ }, "engines": { "node": ">=24.11.0" + }, + "optionalDependencies": { + "@github/copilot-darwin-arm64": "1.0.88", + "@github/copilot-darwin-x64": "1.0.88", + "@github/copilot-linux-x64": "1.0.88" } } diff --git a/tests/e2e/agent-chat-sessions.spec.ts b/tests/e2e/agent-chat-sessions.spec.ts index 6cd5bf1f2d8..722fc3c3bd9 100644 --- a/tests/e2e/agent-chat-sessions.spec.ts +++ b/tests/e2e/agent-chat-sessions.spec.ts @@ -24,7 +24,10 @@ test("built chat initializes after service worker takeover and reload with a slo try { await cdp.send("Emulation.setCPUThrottlingRate", { rate: 4 }); await page.goto(f.route); - await expect(page.getByTestId("task-chat-composer-input")).toBeVisible(); + // These navigations deliberately parse and mount the shipped UI at 4x + // CPU throttling. Bound initial readiness separately from assertions on + // an already rendered page; the default five seconds is too short in CI. + await expect(page.getByTestId("task-chat-composer-input")).toBeVisible({ timeout: 30_000 }); // The failed CI traces stopped before React evaluated, while a service // worker forwarded the Vite module graph. Keep this test on shipped assets // and cover both first takeover and subsequent controlled navigations. @@ -36,7 +39,7 @@ test("built chat initializes after service worker takeover and reload with a slo await page.evaluate(async () => { await navigator.serviceWorker.ready; }); for (let reload = 0; reload < 3; reload += 1) { await page.reload(); - await expect(page.getByTestId("task-chat-composer-input")).toBeVisible(); + await expect(page.getByTestId("task-chat-composer-input")).toBeVisible({ timeout: 30_000 }); expect(await page.evaluate(() => !!navigator.serviceWorker.controller)).toBe(true); } expect(await json(await request.get(f.chatPath))).toBeNull();