Repository navigation
Conversation
– 复用锁定的静态检查与全新的 wheel 构建目录。 – 让用例声明数据库前置,将历史迁移、协议和独立运行时纳入同一验证路径。 – 清理重复或依赖私有状态的证据,从实际 HTTP、数据库和进程边界读回结果。
用实际 PostgreSQL 读回 Peer 角色约束,在读取清单时核对当前事务设置。
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 本地、CI 和提交时验证。数据库套件按显式 pytest 标记自动发现,必须提供隔离库的运行和迁移账号;外部服务专项仍有明确入口。将先前散落在脚本目录的 CalDAV、Twitter 和交付回归纳入维护范围。逐个解析全部 Shell 脚本,让后续脚本的语法错误也能被门禁发现。Core 和扩展 wheel 检查使用独立输出。
把重复的 MCP、扩展状态和部署前置断言收拢到相应的 HTTP、持久化或交付边界。保留历史数据库升级、独立协议、发布资格和 ACL 证据。扩展启动竞态由真实持久 intent 与 HTTP 入口观察。观测过滤经过真实 PostgreSQL 读写。
跟踪 InKCre/docs#71。
验证
db:init和pdm run test:database,79 条实际通过。Mail 使用独立命名试验库复验。风险与回滚
数据库入口要求同时提供一次性测试库的运行与迁移 URL。此 PR 的修改集中在测试、验收工具和维护说明。回退此 PR 会恢复原先的手工路径和调用方式。与 #168 合并时,用标记自动收集替代它的额外路径清单,同时保留它独立的产品修复和业务断言。
最终本地复验
pdm run check退出 0,离线入口执行 206 条。最终数据库入口执行 79 条,全部通过且零跳过。独立 CLI 验证和制品构建通过,11 个第一方 wheel 已逐个构建并核对。另执行 Mail 的短路径、actionlint、迁移历史和发布意图检查。独立审查补回了数据库角色边界和生产预检的只读证据。在真实 PostgreSQL 第一次读取时确认
transaction_read_only=on和repeatable read。受控切换为可写、读已提交事务时,现有迁移旅程会失败。