Skip to content

Conversation

@zxh326
Copy link
Member

@zxh326 zxh326 commented Jan 21, 2026

close #99 #100

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes issues with cachegroup dryrun affinity and warmup command handling. The changes address two main problems: incorrect image parameter usage in warmup commands and the need for conditional node affinity binding in cache group worker pods.

Changes:

  • Fixed warmup command to use the correct image parameter for checking warmup stats support
  • Added dryrun parameter to NewCacheGroupWorker to control node-specific affinity binding
  • Updated all callers of NewCacheGroupWorker to specify the dryrun behavior

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
pkg/builder/job.go Modified getWarmUpCommand to accept and use the correct image parameter, fixing a bug where WarmupSupportStats might check the wrong image
pkg/builder/cache_group_pod.go Added dryrun parameter to NewCacheGroupWorker to conditionally add node-specific affinity based on use case
internal/controller/cachegroup_controller.go Updated all three callers of NewCacheGroupWorker with appropriate dryrun values for their respective contexts

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zxh326 zxh326 linked an issue Jan 21, 2026 that may be closed by this pull request
@zxh326 zxh326 merged commit fed68a4 into main Jan 23, 2026
3 checks passed
@zxh326 zxh326 deleted the fix-cachegroup-dryrun-warmup-cmd branch January 23, 2026 03:55
@404xlabs
Copy link

这个什么时候发布0.7.6呢?

@zxh326
Copy link
Member Author

zxh326 commented Jan 27, 2026

v0.8.0

cc @404xlabs

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.

cache_group 通过 nodeAffinity 进行节点选择不生效 warmup获取缓存进度不生效.

2 participants