e2e(plugins): e2e tests for plugin integration scenarios#1843
Merged
Conversation
ba9f27c to
532d5b3
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds new end-to-end coverage for plugin→plugin integration, validating that option values can be resolved from (1) a direct plugin reference and (2) a label-selector-based reference, and wires this into the existing plugin e2e suite.
Changes:
- Introduces new plugin integration e2e scenarios (direct reference + selector-based reference) with assertions against HelmRelease values and remote deployments.
- Updates existing flux-controller e2e scenarios and fixtures to use the appropriate (Cluster)PluginDefinition helpers/signatures.
- Enables plugin integration feature flag in the dev environment values used by e2e config.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| e2e/plugin/scenarios/plugin_integration.go | New integration scenarios for direct and selector-based value resolution, plus remote deployment verification. |
| e2e/plugin/scenarios/flux_controller.go | Adapts scenarios to updated fixture helpers and removes unused params in some scenario functions. |
| e2e/plugin/fixtures/fixtures.go | Splits helpers for PluginDefinition vs ClusterPluginDefinition and adds a PodInfo PluginDefinition helper. |
| e2e/plugin/e2e_test.go | Adds two new e2e test cases (direct ref + selector ref) and onboards a second remote cluster for integration. |
| dev-env/dev.values.yaml | Turns on global.plugin.integrationEnabled so the integration scenarios can run in the e2e-installed chart. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
2ac5157 to
83b6880
Compare
IvoGoman
reviewed
Mar 16, 2026
83b6880 to
98877fc
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
IvoGoman
reviewed
Mar 31, 2026
Remove unused args and methods Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): adds tracking id annotation check Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> Automatic application of license header (chore): debug logging Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): change env prefix for direct ref Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): debug logging Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): enable plugin integration feature toggle remove debug logging Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): fix tracking id eventually Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> Update e2e/plugin/scenarios/plugin_integration.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> (chore): fetch resource to get updated annotations Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): verify values resolved in helm release with test generated Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com> (chore): address review comments Signed-off-by: abhijith-darshan <abhijith.ravindra@sap.com>
98877fc to
0f92744
Compare
IvoGoman
approved these changes
Apr 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
E2E tests for plugin-plugin integration scenario
What type of PR is this? (check all applicable)
Related Tickets & Documents
Added tests?
implements e2e test for direct reference and reference by selector
Added to documentation?
Checklist