Repository navigation
ci: reuse verified PostgreSQL rustls SQLx CLI binaries - #1435
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configuration
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4b8dde79b2
ℹ️ 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".
Change
SQLx CLI 在 control-plane、market-data、research-heavy 三条 CI 路径重复编译。统一复用独立的
0.8.6 --locked --no-default-features --features rustls,postgres预编译缓存;应用锁文件变化不再使工具缓存失效。缓存保存两个 CLI 和校验凭据,验证实际 Cargo feature 记录、编译环境、版本和二进制摘要。Quickinstall 的现成包只支持默认 features,SQLx 默认配置包含 native-tls/MySQL/SQLite。为保持原 PostgreSQL/rustls 配方,本次缓存由现有编译命令生成,不引入第三方不同特性的二进制。Quickinstall 限制
正式缓存只由 main 可信触发保存;显式分支诊断使用独立的 source-SHA 键。SQLx 诊断有独立并发组和
SQLx CLI diagnostic gate,不能替代发布门禁。三个消费者的数据库测试及失败传播保留,并在运行前核对 CLI 版本。Issue relationship
None
Validation
先验证后接入:工具、composite action 和 PostgreSQL/TLS 验证脚本在接入消费者时未修改。
b7bb8ecc5db9788a5eb1f7766dfef397a2f1641f:冷运行 38837191585、热运行 38837676499 均 completed/success。cache_hit=true,SQLx SHA-256 相同:d8266f138b863f8402b68b654825c5cb296711161f19c1cc1dc535e0bd5bbcb4。c2b741a8a412baa6c7da745de5aa7ed2f27c4bf3:Monorepo CI 38839125467、Prediction CI 38839125581、Security 38839125660 均 completed/success。三条数据库消费者及当前 head 的 PostgreSQL/TLS 等价性 job 全部通过。a9480969afbbae4c46685203045503c8dc405a09。正常 main CI 38839770665 全部成功,三条数据库消费者和等价性任务均通过。main 三项保护门禁也均 completed/success。9027623181、ref=refs/heads/main、key=sqlx-cli-v1-trusted-d2971c900e91f577c946bb28bde81638efe8634580b19db3f6f3f2d50d338f34已读回。cache_hit=true,二进制 SHA-256 与前述冷/热样本一致。其新编译基线 69 秒,完整缓存准备日志跨度 0.604 秒(API 的秒级记录为 0 秒)。14 项检查及 schema、迁移校验和均与前述样本一致。Runtime impact and rollback
只改变 CI 工具准备和验证入口。数据库/TLS 验证使用 GitHub runner 内的临时 PostgreSQL 容器,退出时清理;没有本地或生产数据库操作。还原本 PR 可恢复原安装方式。合并可能触发现有自动发布,发布不代表部署。