Skip to content

ci: 修复 Standalone 与 Mock 依赖检查路由 - #118

Merged
a3384379 merged 2 commits into
mainfrom
codex/pr116-routing-audit
Sep 27, 2026
Merged

a3384379 merged 2 commits into
mainfrom
codex/pr116-routing-audit

Conversation

@a3384379

@a3384379 a3384379 commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

目的

修复 PR #116 合并后复审确认的三个 CI 路由边界:

  • backend/app/core/standalone_schema.py 作为独立 SQLite 初始化和升级入口,要求 backend-full 与 Windows/Standalone 验证;不机械要求 PostgreSQL V2→V3 演练。
  • Mock 镜像实际安装的 mock-target/pyproject.toml 与 mock-target/uv.lock 变更要求 Compose 与 Security;Docker 构建改用 uv sync --locked,拒绝清单与锁文件不一致。
  • backend/app/schemas/ 的 API 请求/响应模型继续要求后端、前端消费者与 Compose 验证,但不再仅凭目录名要求历史数据库升级和 Windows 打包;迁移、模型、仓储路径保持既有升级要求。

验证

  • 修改前新增路由回归:9 个预期失败,确认三处缺口。
  • make test-backend-targeted TARGETS='["tests/test_ci_plan.py","tests/test_standalone_runtime.py"]':90 passed,包含现存 SQLite 升级后的旧数据读取与后续写入测试。
  • uv run pytest --no-cov tests/test_ci_plan.py tests/test_required_gate.py:105 passed。
  • Ruff format/check(路由脚本与测试)和 git diff --check:通过。
  • 当前 Mock 项目的两次 uv sync --locked --dry-run:通过;临时加入未锁定依赖时,--frozen 返回成功而 --locked 明确拒绝。

本 PR 修改 CI 治理文件,需使用受控 Bootstrap 验收。上述本地测试不代表远端检查已通过。

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-27T13:05:24.542904Z 99defa3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 99defa3658

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/ci_plan.py
@a3384379
a3384379 force-pushed the codex/pr116-routing-audit branch from 3030cad to 17ba178 Compare September 27, 2026 13:14
@a3384379
a3384379 merged commit 1832ecb into main Sep 27, 2026
22 of 24 checks passed
@a3384379
a3384379 deleted the codex/pr116-routing-audit branch September 27, 2026 13:38
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