From 34b20bed2266bc533c28c51ab25e917d745be44e Mon Sep 17 00:00:00 2001
From: Antonio-Faure <209759495+Antonio-Faure@users.noreply.github.com>
Date: Wed, 2 Dec 2026 13:22:24 +0100
Subject: [PATCH 1/3] fix(settings): restore the floating card stacking
The Windows desktop frame audit expects the settings shell at z-index 40.
The Claude-style floating card (#2918) dropped the class while moving the
shell to a fixed overlay, so the scrim and card could fall behind the app
surface. Restore z-40.
---
web/components/settings/SettingsMain.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/components/settings/SettingsMain.tsx b/web/components/settings/SettingsMain.tsx
index e6833f072..b39c61293 100644
--- a/web/components/settings/SettingsMain.tsx
+++ b/web/components/settings/SettingsMain.tsx
@@ -101,7 +101,7 @@ export default function SettingsMain({ children }: { children: React.ReactNode }
// its own rounded edge, so opening settings no longer replaces the whole
// window. Phones have no room for a floating card and get the full sheet.
{
From 7bdc97c4bd31cae8d9a8713be098be9f4f4dd6b5 Mon Sep 17 00:00:00 2001
From: Antonio-Faure <209759495+Antonio-Faure@users.noreply.github.com>
Date: Wed, 2 Dec 2026 14:39:55 +0100
Subject: [PATCH 2/3] ci: retrigger the Python 3.12 suite
From 90f605544118a4319485d9cfc21a10577c781154 Mon Sep 17 00:00:00 2001
From: AleFlyX <1449466458@qq.com>
Date: Thu, 3 Dec 2026 00:45:14 +0800
Subject: [PATCH 3/3] =?UTF-8?q?test:=20=E6=98=BE=E5=BC=8F=E5=85=B3?=
=?UTF-8?q?=E9=97=AD=20Copilot=20=E7=99=BB=E5=BD=95=E6=B5=8B=E8=AF=95?=
=?UTF-8?q?=E7=9A=84=E4=BA=8B=E4=BB=B6=E5=BE=AA=E7=8E=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
变更
- 用两个 asyncio.Runner 分别启动登录和查询状态,断言第一个循环确实关闭
- 保留轮询终止后状态不能停在 waiting 的断言
验证
- Python 3.12.13 加载 nest-asyncio2 1.7.4 后,原测试复现 CI 失败,修改后通过
- Python 3.13 的 Copilot 测试文件 21 项通过,变更文件的 pre-commit 检查通过
---
tests/services/test_github_copilot_auth.py | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/tests/services/test_github_copilot_auth.py b/tests/services/test_github_copilot_auth.py
index b92d63096..2ff7b732e 100644
--- a/tests/services/test_github_copilot_auth.py
+++ b/tests/services/test_github_copilot_auth.py
@@ -403,10 +403,15 @@ def test_sequential_event_loops_never_leave_orphaned_waiting_state(tmp_path, mon
started = await service.start_login()
assert started["operation_state"] == "waiting"
- asyncio.run(start_in_loop_one())
+ # GraphRAG's nest_asyncio2 patch can make asyncio.run reuse an open loop.
+ # Own the loop explicitly so leaving this block cancels the polling task.
+ with asyncio.Runner() as runner:
+ first_loop = runner.get_loop()
+ runner.run(start_in_loop_one())
+ assert first_loop.is_closed()
- # Loop 1 is now closed; loop 2 must detect the orphaned task and never return waiting.
- status_in_loop_two = asyncio.run(service.status())
+ with asyncio.Runner() as runner:
+ status_in_loop_two = runner.run(service.status())
assert status_in_loop_two["operation_state"] != "waiting"
assert status_in_loop_two["connection"] == "error"