Skip to content

build: 提升 CI 配置缓存命中 - #234

Merged
aruis merged 1 commit into
mainfrom
codex/ci-configuration-cache
Aug 14, 2026
Merged

build: 提升 CI 配置缓存命中#234
aruis merged 1 commit into
mainfrom
codex/ci-configuration-cache

Conversation

@aruis

@aruis aruis commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

变更内容

  • 将模块边界校验改为 configuration-cache-safe,同时保持依赖边界和 Boot 源码约束检查。
  • 后端全量校验启用 Gradle configuration cache。
  • 同一 PR 的较旧 CI 在新提交到达时自动取消;main 推送不取消。

影响

CI 仍执行原有 verifyAll,不增加或拆分校验场景。缓存命中时可减少 Gradle 配置阶段等待,并减少连续推送造成的无效 Runner 占用。

验证

  • ./gradlew clean verifyAll --configuration-cache --no-daemon --console=plain -q
  • ./gradlew verifyAll --configuration-cache --no-daemon --console=plain -q
  • CI workflow YAML 解析通过

@aruis
aruis marked this pull request as ready for review August 14, 2026 01:20
@aruis
aruis merged commit e17ce0d into main Aug 14, 2026
4 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