feat(admin):迁移checkpoint只读链路到postgresql - #35
Merged
Conversation
Heyflyingpig
approved these changes
Aug 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更内容
config.metadata写入job_id,通过thread_id=session_id + metadata.job_id精确归属任务。admin-frontend/dist仅提交index.html,哈希 assets 由构建阶段重新生成。原因
LangGraph checkpoint 的运行时事实源已经迁移到 PostgreSQL,但管理员任务详情、完整性检查和 deep audit 仍存在读取或解释 MySQL checkpoint 的旧链路。本次改动统一管理员只读路径,同时保持 MySQL 任务事件与 PostgreSQL 图状态的边界。
用户与开发影响
job_id的 checkpoint 不按时间猜测归属,只提示存在历史未归属记录。验证
npm cinpm run typechecknpm run builddocker compose configgit diff --check按精简验收要求未运行完整单元测试矩阵、Playwright 或隔离 E2E。Docker 服务当时不可用,因此未执行容器内 Python 编译和最小启动检查,也未改用本地 Python。
Fixes #24