Skip to content
This repository was archived by the owner on Nov 12, 2026. It is now read-only.

🌱 Add backward compatibility guide and tests for AgentCardSync controller - #173

Merged
pdettori merged 9 commits into
rossoctl:mainfrom
pdettori:issue-167
Feb 5, 2026
Merged

pdettori merged 9 commits into
rossoctl:mainfrom
pdettori:issue-167

Conversation

@pdettori

@pdettori pdettori commented Feb 3, 2026 •

Copy link
Copy Markdown
Member

Summary

This PR adds comprehensive migration documentation and tests to support the transition from legacy Agent CRD to workload-based agents (Deployments and StatefulSets).

Changes Included

Migration Documentation (docs/migration/migrate-agent-crd-to-workloads.md)

  • Complete step-by-step migration guide
  • Instructions for migrating Agent CRDs to Deployments/StatefulSets
  • Label migration guide (kagenti.io/agent-protocol → kagenti.io/protocol)
  • AgentCard selector-to-targetRef migration instructions
  • Troubleshooting section and rollback procedures
  • Documentation on --enable-legacy-agent-crd flag

Test Coverage (kagenti-operator/internal/controller/agentcardsync_controller_test.go)

  • Added test for new protocol label (kagenti.io/protocol)
  • Added test for backward compatibility (both old and new protocol labels)
  • Verification that new tests use targetRef instead of deprecated selector field

Related issue(s)

Fixes #167

🤖 Assisted by Claude Code

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.

Pull request overview

This PR adds comprehensive migration documentation and tests to support the transition from legacy Agent CRD to workload-based agents (Deployments and StatefulSets).


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

Comment thread kagenti-operator/cmd/main.go Resolved
@pdettori
pdettori marked this pull request as draft February 4, 2026 02:48
@pdettori

pdettori commented Feb 4, 2026 •

Copy link
Copy Markdown
Member Author

Need to hold on this one to implement and merge #175 first

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.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.


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

pdettori and others added 9 commits February 4, 2026 21:25
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…test.go

Author: Paolo Dettori <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…test.go

Author: Paolo Dettori <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…test.go

Author: Paolo Dettori <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…test.go

Author: Paolo Dettori <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Author: Paolo Dettori <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
…test.go

Author: Paolo Dettori <[email protected]>

Co-authored-by: Copilot <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
Signed-off-by: Paolo Dettori <[email protected]>
@pdettori pdettori changed the title 🌱 Add backward compatibility controls for AgentCard controller 🌱 Add backward compatibility guide and tests for AgentCardSync controller Feb 5, 2026

@cwiklik cwiklik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@pdettori
pdettori merged commit a93e225 into rossoctl:main Feb 5, 2026
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Backward Compatibility & Testing

3 participants