Repository navigation
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
- Memos migration fixture 绑定独立 Core,不再替换已删除的全局 session factory - Job 集成场景通过 start/shutdown 管理执行准入 - 本地仅静态检查与测试收集,数据库行为交给云端 CI
xiaoland
force-pushed
the
feat/core-app-separation
branch
from
November 4, 2026 13:49
6e73b1f to
a749300
Compare
This branch was successfully 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 已记录。CLI 与第一方扩展没有独立版本变更。共享合同:InKCre/docs#51;跨仓跟踪:InKCre/docs#50。源码和
docs/_shared引用分别提交,引用指向已推送的 Hubb33346225b669a6ac93fcac12a135178a46533c8。基线与下一步
直接基于
origin/main(ee84d48),不依赖 maintainability PR #168。 仅保留本任务的分离改动;搬迁文件保留主线的 Job catalog、Source 路径身份和关闭行为,没有带入父候选的合同集中化、扩展修复、新测试或验证机制。下一响应方:维护者。请审阅 Core 生命周期、旧导入兼容、服务装配与 wheel 的公开范围。保持 draft;合并前按最新 main 检查云端结果与最终共享文档引用。
当前基线验证
以下本地检查在重新基于 main
9031f7e后执行,不沿用旧父候选的测试结论。随后同步 mainee84d48并修复三处数据库测试 fixture;当前 heada749300的云端证据另列于下:本地未执行端到端验收。 云端 CI 和预览按仓库既有流程正常执行,结果以当前 head 的 Checks 为准。本地构建和局部测试不代替真实数据库跨 Peer、容器运行及完整应用旅程。
风险与回滚
主要风险是全局状态改为实例所有权后,遗漏绑定或关闭顺序会影响服务回调、Job 与旧扩展。局部测试覆盖嵌套/并发绑定、借用/自建 engine、任务收束和兼容类型身份。
回滚时整体撤销本 PR 的源码及共享引用提交,并使用此前服务产物;没有新增迁移需要逆向执行。不要只撤销兼容层或打包配置的一部分。
交付影响
本次只创建 draft,不发布包、合并或部署生产。服务安装需包含
appextra,基础 SDK 消费不需该 extra。既有 CI 和预览控制器按正常流程执行;预览交付须等待精确 head 的必需检查通过。直接父 PR:无。直接子 PR:#178。跨仓合同和发布依赖由 InKCre/docs#50 跟踪。
后续统一可观测性
直接子 PR:https://github.com/InKCre/impl-py/pull/178(draft,基于本 PR 的 Core/App 边界)。先合并本 PR,再将子 PR 重排到最新 main;跨仓交付由 InKCre/docs#52 跟踪。
当前 head
a749300的云端 Repository and artifact checks 已通过,包括数据库场景、CLI 和 E2E;preview 部署尚在运行。此次主线同步保留 Twitter 新增功能与发布内容,未修改发布检查规则。