ci: 建立 UniSpeaking 最小可用持续集成门禁 - #27
Merged
Merged
Conversation
配置 JaCoCo、Surefire、Failsafe 和 CI 集成测试 Profile。 保证单元测试与集成测试可并行执行并汇总覆盖率。
将现有 Schema 转为 V1 基线迁移,并以版本 0 接管已有数据库。 停用 Spring SQL 初始化和重复手工脚本,保留幂等升级与数据兼容能力。
使用 Testcontainers 验证 Flyway、真实持久化、JSONB 和复合主键。 通过测试作用域 Redis 客户端检查读写及 TTL 到期行为。
增加场景状态机和过短评分策略测试,覆盖异常、确认与关闭分支。 单元测试增至 186 个,合并行覆盖率达到 73.80%。
按路径组织后端、前端、Docker、Compose 与依赖审查任务。 保存测试和覆盖率报告,并由 always 汇总任务统一判定门禁。
在 main 更新后轮询开放 PR 的最新 merge SHA,并跳过冲突分支。 复用 PR 并发组取消过期运行,以可信任务发布 CI / required 状态。
记录 RFC 对应关系、运行方式、报告位置和首次启用步骤。 说明 main 分支保护、提交与 PR 规范,以及不发布和不部署的范围边界。
pionxe
requested review from
HansonL622,
fj-sunny,
suerzzh,
the-Louvre and
yydounai1234
July 31, 2026 07:53
There was a problem hiding this comment.
No issues found in the changed code after reviewing the code-quality, performance, security, and documentation passes.
Validation: backend test compilation passed. The container integration profile could not run in this environment because the Docker socket was not accessible.
要求每次修改生产代码时同步补齐测试,并将开发质量标准提高到 80% 行覆盖率。 保留 CI 70% 过渡门槛,待测试基线稳定后再单独调整。
yydounai1234
approved these changes
Jul 31, 2026
yydounai1234
left a comment
Collaborator
There was a problem hiding this comment.
后面可以把覆盖率在 readme 显示下
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.
关联 RFC
《UniSpeaking 最小可用 CI 方案》
Close #25。
做了什么
怎么做
验证结果
范围说明
本期不发布 JAR、dist 或镜像,不部署测试/生产环境,不接入生产 Redis,也不修改现有业务接口。