Files
MemRelay/projects/46777563-9cef-472c-b0c8-31ee36f2ea1c/Checkpoint 2026-10-24 23-15-10 UTC [4437cb08fa].md
T
memrelay 259c9044b8 create: Checkpoint 2026-10-24 23:15:10 UTC [4437cb08fa]
MemRelay-Operation: checkpoint-save:auth-b-2026-10-25-e0b0d94
MemRelay-Resource: acfff237-1d0b-468d-b47b-a8d48b497db2
2026-10-25 07:15:13 +08:00

26 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Checkpoint 2026-10-24 23:15:10 UTC [4437cb08fa]
type: checkpoint
permalink: main/projects/46777563-9cef-472c-b0c8-31ee36f2ea1c/checkpoint-2026-10-24-23-15-10-utc-4437cb08fa
stable_id: acfff237-1d0b-468d-b47b-a8d48b497db2
scope: project
memory_type: checkpoint
project_id: 46777563-9cef-472c-b0c8-31ee36f2ea1c
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: auth-b-2026-10-25-e0b0d94
created_at: '2026-10-24T23:15:10.859261+00:00'
updated_at: '2026-10-24T23:15:10.859261+00:00'
tags:
- handoff
- fix-auth
---
B 组(fix/auth)已在 E:\code\NqiTools\Temp\worktrees\auth 完成,基点 6b84a5e,头部 e0b0d94。没有推送。pytest 为 49 passed(原 25 项加 tests/test_auth.py)。没改 test_core.py、jobs.py 下载循环、Vue、计划文件。
提交:6558e55 删无用表单字段;c1e6a57 连接池 300;3308f41 登录请求走 _request(这次也带上了 execution 更新);db9c841 need_captcha;138096d 十分钟流程清理;0f49e50 只有 NqiAuthError 删凭证;f64d28b 并发探测并加锁合并;617e377 续期失效暂停;cd1aeb1 写回前确认 state.client;81f7f16 切换/退出前暂停并在重新登录后 resume_marked(expired);0f8d560 日志;0d7bc8e 父进程看门狗与数据目录锁;5690b59 令牌与 TrustedHost;e0b0d94 测试。
行为约定:没有 NQI_PARENT_PID 不启用看门狗;用 OpenProcess+WaitForSingleObject,不用 os.kill;拿不到 backend.lock 写一行日志后退出。退出不删 sessions.json。登录失败或仍要短信时不关闭当前会话;只有退出或新登录已经成功要替换旧客户端时,才 suspend_all、等待途请求最多约 5 秒再 aclose。自动继续只限 paused_by=expired。切换标记是 switch,退出是 logout。未设 NQI_TOKEN 时中间件挂上但放行。下载查询方法没改。freeze.py、constants.py、sign.py、state.py 没改。
给下个会话:合并顺序仍是 B、C1。C2、D、A。不要跑 tauri dev,不要连真实 data 目录起后台。Python 用主仓库 backend\.venv。