Skip to content

ci: enforce schema migration and Web quality gates - #281

Merged
xxxsen merged 5 commits into
masterfrom
codex/ci-gates
Oct 28, 2026
Merged

xxxsen merged 5 commits into
masterfrom
codex/ci-gates

Conversation

@xxxsen

@xxxsen xxxsen commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

将数据库结构、service SQL 类型边界、已发布 migration 不可修改、lint 配置回归及 PFB 网关检查接入 PR 门禁,并为 Web 增加重复代码检测。已发布 migration 对照固定基线和最新 stable Release 检查修改、删除、重命名及连续编号。

PR      → contracts/backend/integration/web/gateway → quality
Release → tag/source validation → images + migration digest

Evidence

  • Before: 部分架构约束仅由文档声明,migration 历史和 Web 重复代码缺少实际阻断。
    After: 真实 PostgreSQL 验证精确表集合和禁用结构,违规反例覆盖各条规则;Web 使用空重复基线,新增复制会失败。历史比对和源码回归在 PR 执行,release 保留轻量身份与产物检查。
  • 本地通过:Go integration 全套 585 项(包含普通测试)、Python 231、Web 575、Node 配置回归 13、四视口公开产品浏览器 36 项,以及 Docker 网关测试。生产双镜像构建由本 PR 的 branch-image 门禁验证。

Merge Danger

Door: two-way

Blast Radius: CI

门禁将阻断违反现有约束的提交;不更改业务表、已发布 migration 或 API。

@xxxsen
xxxsen merged commit 2ffc5a4 into master Oct 28, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant