Repository navigation
ref(core): 分离独立 Python SDK 与应用装配 - #175
Merged
Merged
Conversation
This was referenced Nov 4, 2026
xiaoland
force-pushed
the
feat/core-app-separation
branch
from
November 4, 2026 13:09
e9e8e0a to
9ab09c4
Compare
This was referenced Nov 4, 2026
xiaoland
force-pushed
the
feat/core-app-separation
branch
from
November 4, 2026 13:49
6e73b1f to
a749300
Compare
- Memos migration fixture 绑定独立 Core,不再替换已删除的全局 session factory - Job 集成场景通过 start/shutdown 管理执行准入 - 本地仅静态检查与测试收集,数据库行为交给云端 CI
xiaoland
force-pushed
the
feat/core-app-separation
branch
from
November 5, 2026 09:46
a749300 to
0b0ab05
Compare
xiaoland
marked this pull request as ready for review
November 5, 2026 09:48
3 of 5 tasks
This branch was previously deployed
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.
外部 Python 程序需要直接复用领域能力。本 PR 提供可独立安装的
inkcre_core,由调用方显式创建、绑定和关闭 Core。FastAPI 服务、环境读取、调度唤醒及安装/重启政策由 App 装配。范围
appextra。发布项目为
inkcre-core,包含服务镜像,Towncrier fragment 已记录。合并基线与验证
当前候选
0b0ab05基于 mainf87694d,已核对 #180 的 ChatGPT launcher、同容器集成和部署 workflow 内容。共享引用独立提交到已合入 Hub main 的17fc19e7230187a7a989815e7b8303bbb380f478。本轮重排后的 foundation、锁和 migration integrity、发布意图、共享引用及
git diff --check检查通过。当前 head 的云端 required checks 是最终合并依据,包含仓库合同、真实 PostgreSQL 场景和容器 E2E。此前 main
9031f7e基线的本地集合为 104 passed、9 skipped、1 deselected,Core 生命周期等局部集合为 21 passed,两组有重叠。随后修复的数据库 fixture 已在a749300的云端仓库检查和 E2E 通过。这些历史结果记录验证范围,本轮结果请查看当前 head 的 Checks。用户要求将本地验证限定为静态、构建和局部检查,端到端验证由云端执行。风险与回滚
全局状态改为实例所有权后,遗漏绑定或关闭顺序会影响服务回调、Job 与扩展。已有局部验证覆盖嵌套与并发绑定、借用和自建 engine、任务收束及兼容类型身份。
回滚时整体撤销本 PR,使用此前服务产物。部署的服务依赖安装需包含
appextra。交付与关联
用户已授权本组 PR 按顺序合并。当前执行者已复核基线、资源所有权、兼容入口和打包范围,将在 required checks 满足后通过普通 squash 合并。整组 PR 合并后,指定 Dogfood 聊天负责按 main 更新正式自部署。
本 PR 直接基于 main,后续为 #178,再后续为 #181。共享合同为 InKCre/docs#51、#53、#56、#57,跨仓跟踪为 InKCre/docs#50、#52、#55。