Skip to content

feat(cg): use commission flag for new workers - #130

Merged
zxh326 merged 2 commits into
mainfrom
feat/cache-group-commission
Oct 12, 2026
Merged

zxh326 merged 2 commits into
mainfrom
feat/cache-group-commission

Conversation

@zxh326

@zxh326 zxh326 commented Oct 9, 2026

Copy link
Copy Markdown
Member

No description provided.

@zxh326 zxh326 changed the title feat(cg): use commission for workers on EE 5.4.3+ feat(cg): use commission flag for new workers Oct 9, 2026
The quay.io/minio/minio:latest manifest no longer resolves, leaving the MinIO setup step waiting for readiness until it times out. Use juicedata/minio:latest for the existing e2e fixture.
@zxh326
zxh326 requested review from zwwhdls and a balanced review from Copilot October 10, 2026 02:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Commission can be incorrectly enabled for non-EE images or combined with an explicitly configured group-backup option.

3 open findings
What changed in this PR

Adds version-aware commission handling for new cache-group workers while retaining group-backup compatibility.

Changes:

  • Selects temporary join flags based on worker version.
  • Removes commission when decommissioning workers.
  • Updates option filtering, documentation, and E2E MinIO image.
File Description
api/​v1/​cachegroup_types.go Documents join behavior and requirements.
config/​samples/​v1_cachegroup.yaml Updates sample guidance.
internal/​controller/​cachegroup_controller.go Determines when workers require a join option.
pkg/​builder/​cache_group_pod.go Generates commission flags and decommission commands.
pkg/​builder/​job.go Excludes lifecycle flags from job mount options.
pkg/​common/​common.go Defines the minimum commission version.
test/​e2e/​config/​minio.yaml Changes the E2E MinIO image.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pkg/builder/cache_group_pod.go Resolved
Comment thread pkg/builder/cache_group_pod.go Resolved
@zxh326
zxh326 merged commit 8300796 into main Oct 12, 2026
4 checks passed
@zxh326
zxh326 deleted the feat/cache-group-commission branch October 12, 2026 03:05
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.

3 participants