You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add MCPRegistry controller e2e test framework
- Create Ginkgo-based test suite for operator testing
- Add comprehensive test helpers for MCPRegistry operations
- Include test fixtures with sample YAML manifests
- Set up Kubernetes test environment with envtest support
- Add namespace isolation and cleanup utilities
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Daniele Martinoli <[email protected]>
Co-authored-by: Claude <[email protected]>
* Add comprehensive Ginkgo test framework for MCPRegistry e2e testing
- Create test suite with proper Kubernetes environment setup
- Add specialized helper utilities for MCPRegistry operations
- Implement ConfigMap test helpers for registry data validation
- Add status validation helpers for phase and condition checking
- Create timing utilities with proper timeout configurations
- Add test data factories for generating test resources
- Include builder patterns for fluent resource construction
- Support both ToolHive and upstream MCP registry formats
- Add comprehensive test fixtures and scenarios
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Daniele Martinoli <[email protected]>
Co-authored-by: Claude <[email protected]>
* Fix MCPRegistry e2e test timeouts and finalizer handling
- Fix finalizer removal using Patch instead of Update to avoid resource conflicts
- Update registry data structure to match expected schema (add required fields: tier, status, tools, image)
- Add proper registry deletion waiting in cleanup to prevent namespace deletion issues
- Fix lint errors by removing dot imports from non-test files
- Add comprehensive MCPRegistry lifecycle test coverage
- Improve error handling and logging in test helpers
Signed-off-by: Daniele Martinoli <[email protected]>
Co-authored-by: Claude <[email protected]>
🤖 Generated with [Claude Code](https://claude.ai/code)
* reviewed finalization logic to avoid unnecessary attempts (and logged errors)
Signed-off-by: Daniele Martinoli <[email protected]>
* extended and successful validation of "should create MCPRegistry with correct initial status"
Signed-off-by: Daniele Martinoli <[email protected]>
* Enhance e2e test setup by adding support for kubebuilder assets
- Introduced environment variable handling for KUBEBUILDER_ASSETS
- Added warning for missing kubebuilder assets to improve test reliability
- Updated test environment configuration to include BinaryAssetsDirectory
This change aims to streamline the e2e testing process and provide clearer feedback on asset availability.
Signed-off-by: Daniele Martinoli <[email protected]>
* - reviewed controller logic to avoid reconciliaton loops
- initial draft of e2e tests
Signed-off-by: Daniele Martinoli <[email protected]>
* more tests for automatic and manual sync
Signed-off-by: Daniele Martinoli <[email protected]>
* filtering and git source e2e tests
* controller changes to succeed e2e tests
Signed-off-by: Daniele Martinoli <[email protected]>
* bump chart version and update CRD docs
Signed-off-by: Daniele Martinoli <[email protected]>
* rebase issue
* bump chart version
* bump chart version
Signed-off-by: Daniele Martinoli <[email protected]>
* removed the whole test/e2e/operator/fixtures folder
Signed-off-by: Daniele Martinoli <[email protected]>
* removed bunch of unused functions and the unneded defer clause
Signed-off-by: Daniele Martinoli <[email protected]>
* integrated operator e2e tests in CI and added new task to execute them
Signed-off-by: Daniele Martinoli <[email protected]>
* moved automated tests to operator CI
Signed-off-by: Daniele Martinoli <[email protected]>
* fix for automated tests
Signed-off-by: Daniele Martinoli <[email protected]>
* installed ginkgo
Signed-off-by: Daniele Martinoli <[email protected]>
* try to fix e2e test failures (git clone issue)
Signed-off-by: Daniele Martinoli <[email protected]>
* restored commented tests
Signed-off-by: Daniele Martinoli <[email protected]>
* - reviewed apply status logic to run a single status update per reconciliation and avoid errors due to updated resource.
- reviewed overall status calculation to consider updates or (if nil) lates status
Signed-off-by: Daniele Martinoli <[email protected]>
---------
Signed-off-by: Daniele Martinoli <[email protected]>
Co-authored-by: Claude <[email protected]>
0 commit comments