Repository navigation
Conversation
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.
目的与范围
收敛验证与 Preview 的重复工作,保留数据、身份、凭据和关闭清理边界。
has_deployed_release输出;保留控制配置顺序的 PostgREST release 判断。pdm check,末尾只运行独有的 actionlint;本地完整 pre-commit hooks 不变。tests/、重命名新旧路径均符合、查询前后 head/base 一致时,跳过应用 Preview。API 失败、清单截断或无法确认时仍走原交付。这不是净减代码的通用框架:新增一个受信只读判定和对应测试,用于减少 wheel、镜像、Registry、Heroku 的无用交付;不承诺纯测试 PR 零资源成本。
验证证据
pdm run check通过:90 passed、60 skipped;未启动本地数据库,跳过项不计作通过。scripts/tests/test_preview_delivery.py:10 passed,覆盖部分交付报告、完整纯测试差异、混合变更、重命名、非根 tests 路径、截断、身份变化及 API 失败。pdm run pre-commit run actionlint --all-files、diff whitespace 和独立源码复核通过。草稿状态与合并前置条件
用户已单独授权将
Hermetic repository contract、Portable peer database runtime分别迁移为impl-py checks、impl-py e2e tests,同步对应 branch protection。head1eef9e3的两个新名称检查和 inkcre-cli checks 已在 CI39951895469 通过,随后完成保护迁移。已核对 strict=true、GitHub Actions App15368 绑定、
Provision isolated branch及其余保护均未改变,没有 bypass。PR 仍保持草稿:Neon 实际供给在两次运行中均返回 HTTP422,尚未满足必需检查。已取消只会继续等待的非必需应用交付 run39951892903,未取消或绕过数据库检查。只读 Neon 项目查询确认
owner.branches_limit=10,现有分支正好10个,本 PR 的preview/core-py/pr-159不存在。需释放一个分支名额或提高配额后重跑;未删除其他任务、备份或维护分支,未改套餐。交付影响、风险与回退
Draft 也可能按当前主分支的受信 controller 触发现有 Preview;本 PR 首次交付不能证明尚未合并的新判定生效。
主分支采纳后,新增 scope job 对每个内部 PR 多做只读查询。Neon 和关闭清理成本仍存在。以后新增本地 hook 时须明确其 CI 归属,不能假设全部 hooks 自动进入 CI。
回退对应提交恢复原执行与自动应用 Preview;不自动删除打开 PR 的已有资源。
关联
TS 的独立重复执行删减:InKCre/impl-ts#163 。无父子 PR 依赖。