记录客户端登录续期集成状态
需求:将登录七天滑动续期来源提交纳入主分支集成记录。 实现:登记来源与合并提交、验证结果、发布约束及原主工作区脏文件阻塞。
This commit is contained in:
@@ -4,33 +4,35 @@ This file is the integrated default-branch snapshot. Feature tasks record progre
|
|||||||
|
|
||||||
## Integrated Through
|
## Integrated Through
|
||||||
|
|
||||||
- {source task or merge commit}
|
- `86ece3a`:客户端登录七天滑动续期来源提交。
|
||||||
|
- `4dde8f32678baa81fd3ae3f6e7bd0d34b17885d6`:集成合并提交。
|
||||||
|
|
||||||
## Current Focus
|
## Current Focus
|
||||||
|
|
||||||
The project is currently focused on {current focus}.
|
客户端认证由 Electron Main 统一管理刷新凭据,并按真实用户活动维护七天闲置窗口。
|
||||||
|
|
||||||
## Recently Completed
|
## Recently Completed
|
||||||
|
|
||||||
- {YYYY-MM-DD}: {completed work summary}
|
- 2026-08-07:集成客户端登录滑动续期、刷新令牌轮换持久化和终态清理保护。
|
||||||
|
|
||||||
## In Progress
|
## In Progress
|
||||||
|
|
||||||
- {in-progress item}
|
- 协调认证服务端七天刷新令牌配置及共享 `app` OAuth 客户端发布。
|
||||||
|
|
||||||
## Next Recommended Steps
|
## Next Recommended Steps
|
||||||
|
|
||||||
1. {next recommended step}
|
1. 确认所有共享 `app` 客户端支持原子保存轮换后的刷新令牌。
|
||||||
2. {next recommended step}
|
2. 发布兼容客户端与认证服务后执行数据库迁移,并刷新 RegisteredClient Redis 缓存。
|
||||||
|
|
||||||
## Open Questions / Blockers
|
## Open Questions / Blockers
|
||||||
|
|
||||||
- {open question or blocker}
|
- 存量刷新令牌不会被数据库迁移追溯缩短为七天。
|
||||||
|
|
||||||
## Risky Areas
|
## Risky Areas
|
||||||
|
|
||||||
- {risky area}
|
- 刷新响应返回新令牌后、客户端安全落盘前的进程崩溃窗口会要求重新授权。
|
||||||
|
- Linux 缺少受保护系统 keyring 时不会跨重启保存刷新凭据。
|
||||||
|
|
||||||
## Last Updated
|
## Last Updated
|
||||||
|
|
||||||
{YYYY-MM-DD}
|
2026-08-07
|
||||||
|
|||||||
@@ -0,0 +1,45 @@
|
|||||||
|
# Task: 合并客户端登录滑动续期到主分支
|
||||||
|
|
||||||
|
## Identity
|
||||||
|
|
||||||
|
- Task ID: 20260807-integrate-login-client-a4f8
|
||||||
|
- Mode: Integration
|
||||||
|
- Branch: codex/20260807-integrate-login-client-a4f8-integrate-login-client-a4f8
|
||||||
|
- Worktree: D:\Datas\OthersProjects\makelore-login-integration-a4f8
|
||||||
|
- Base commit: 7b23cce67a1b9e61a48d89dedbd088d37b10ecd4
|
||||||
|
- Owner: codex
|
||||||
|
- Status: In Progress
|
||||||
|
|
||||||
|
## Scope
|
||||||
|
|
||||||
|
- 将已完成的客户端登录滑动续期提交 `86ece3a` 合并到主分支候选。
|
||||||
|
- 复核来源提交、合并树、认证聚焦测试和类型检查。
|
||||||
|
- 更新集成态项目记录,并在不覆盖原主工作区未提交改动的前提下推进 `main`。
|
||||||
|
|
||||||
|
## Intent And Constraints
|
||||||
|
|
||||||
|
- 保留原主工作区中的设备预览及其他未提交改动,不自动 stash、提交或覆盖。
|
||||||
|
- 仅集成登录滑动续期来源提交,不顺带合并其他 ready-for-integration 任务。
|
||||||
|
- 合并后的行为以来源任务记录的七天闲置、真实活动续期和 Main-owned 凭据边界为准。
|
||||||
|
|
||||||
|
## Outcome
|
||||||
|
|
||||||
|
- 来源提交已通过非快进合并进入集成分支,合并提交为
|
||||||
|
`4dde8f32678baa81fd3ae3f6e7bd0d34b17885d6`。
|
||||||
|
- 集成树中的业务代码与来源提交一致,无内容漂移。
|
||||||
|
- 原 `main` 工作区存在与本次认证文件重叠的未提交改动,尚未推进主分支引用。
|
||||||
|
|
||||||
|
## Verification
|
||||||
|
|
||||||
|
- `git merge-base --is-ancestor 86ece3a HEAD`:通过。
|
||||||
|
- 来源提交认证聚焦测试:6 files,85 tests passed。
|
||||||
|
- `pnpm run typecheck`:通过。
|
||||||
|
- `git diff --exit-code 86ece3a HEAD -- README.md electron shared src tests`:通过。
|
||||||
|
|
||||||
|
## Follow-ups
|
||||||
|
|
||||||
|
- 获得对原主工作区未提交改动的明确处理方式后,将集成分支安全推进到 `main`。
|
||||||
|
|
||||||
|
## Promotion Candidates
|
||||||
|
|
||||||
|
- None recorded.
|
||||||
Reference in New Issue
Block a user