Skip to content

refactor(mnnvl): add group-aware ComputeDomain naming and lifecycle m…#551

Merged
shmuel-runai merged 3 commits into
ai-dynamo:mainfrom
shmuel-runai:grove-417/cd-group-aware-naming
Apr 27, 2026
Merged

refactor(mnnvl): add group-aware ComputeDomain naming and lifecycle m…#551
shmuel-runai merged 3 commits into
ai-dynamo:mainfrom
shmuel-runai:grove-417/cd-group-aware-naming

Conversation

@shmuel-runai

Copy link
Copy Markdown
Contributor

…anagement

What type of PR is this?

/kind feature

What this PR does / why we need it:

Decouple CD name resolution from lifecycle functions so Sync and Delete work with named MNNVL groups (grove.io/mnnvl-group) in addition to the default auto-mnnvl path.

Key changes:

  • Introduce cdNameInfo and getRequiredCDNames to collect distinct groups from all annotation layers (PCS, PCSG configs, clique templates)
  • Replace replica-index-parsing deletion with triageCDs (set diff via lo)
  • Add LabelMNNVLGroup to ComputeDomain resources for group filtering
  • Extend GenerateRCTName and generateComputeDomainName with optional group
  • Simplify Delete to reuse triggerDeletionOfComputeDomainsByName

Which issue(s) this PR fixes:

Ref #417

@copy-pr-bot

copy-pr-bot Bot commented Apr 26, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@shmuel-runai shmuel-runai force-pushed the grove-417/cd-group-aware-naming branch from 533a7ac to 4d13059 Compare April 26, 2026 08:58
danbar2
danbar2 previously approved these changes Apr 27, 2026

@danbar2 danbar2 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.

LGTM

…anagement

Decouple CD name resolution from lifecycle functions so Sync and Delete
work with named MNNVL groups (grove.io/mnnvl-group) in addition to the
default auto-mnnvl path.

Key changes:
- Introduce cdNameInfo and getRequiredCDNames to collect distinct groups
  from all annotation layers (PCS, PCSG configs, clique templates)
- Replace replica-index-parsing deletion with triageCDs (set diff via lo)
- Add LabelMNNVLGroup to ComputeDomain resources for group filtering
- Extend GenerateRCTName and generateComputeDomainName with optional group
- Simplify Delete to reuse triggerDeletionOfComputeDomainsByName

Made-with: Cursor
Comment thread operator/internal/mnnvl/computedomain/computedomain.go Outdated
Comment thread operator/internal/mnnvl/computedomain/computedomain.go Outdated
@shmuel-runai shmuel-runai merged commit 7e953c2 into ai-dynamo:main Apr 27, 2026
15 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.

3 participants