Skip to content

Remove LastOperation from CRDs and restructure component operators#192

Merged
unmarshall merged 5 commits into
ai-dynamo:mainfrom
unmarshall:refactor
Sep 19, 2025
Merged

Remove LastOperation from CRDs and restructure component operators#192
unmarshall merged 5 commits into
ai-dynamo:mainfrom
unmarshall:refactor

Conversation

@unmarshall

@unmarshall unmarshall commented Sep 17, 2025

Copy link
Copy Markdown
Collaborator

What type of PR is this?

/kind cleanup
/kind api

What this PR does / why we need it:

The motivation has been captured in the respective issues. This PR introduces the following changes:

  • Removed LastOperation from Status of PodClique, PodCliqueScalingGroup and PodCliqueSet.
  • Refactored structure of components to make it easy to correlate.
    • Combined constants into one file internal/constants/constants.go
    • Moved controller specific components within each controller package.

Which issue(s) this PR fixes:

Fixes #190 #191

Special notes for your reviewer:

Does this PR introduce a API change?

Removes LastOperation from PodClique, PodCliqueScalingGroup and PodCliqueSet CRDs
Components are now placed inside their respective controllers.

Additional documentation e.g., enhancement proposals, usage docs, etc.:

None

  `PodCliqueScalingGroup` and `PodCliqueSet`.
* Refactored structure of components to make it easy to correlate.
  * Combined constants into one file `internal/constants/constants.go`
  * Moved controller specific components within each controller package.

Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Comment thread operator/internal/controller/utils/reconciler.go Outdated
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>

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

Can the imports be fixed?

Comment thread operator/internal/controller/common/component/types.go Outdated
Comment thread operator/internal/controller/common/component/types.go Outdated
Comment thread operator/internal/controller/podclique/register.go Outdated
Comment thread operator/internal/controller/podcliquescalinggroup/reconcilestatus.go Outdated
Comment thread operator/internal/controller/podcliqueset/reconcilestatus.go Outdated
Comment thread operator/internal/controller/podcliquescalinggroup/components/podclique/sync.go Outdated
Comment thread operator/internal/controller/podcliqueset/components/podclique/podclique.go Outdated
Comment thread operator/internal/controller/podclique/reconcilestatus.go Outdated
Comment thread operator/internal/controller/podcliquescalinggroup/reconcilespec.go Outdated
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
Signed-off-by: madhav bhargava <madhav.bhargava@sap.com>
@unmarshall unmarshall merged commit 9466ee1 into ai-dynamo:main Sep 19, 2025
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.

Remove LastOperation from CRD status

3 participants