Conversation
6 tasks
Agent-Logs-Url: https://github.com/Kong/kongctl/sessions/0faf67a4-fe6d-45c2-be00-7509fb7b4228 Co-authored-by: rspurgeon <10521262+rspurgeon@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add E2E pagination scenario for event-gateway child resources
test: add e2e pagination scenario for event-gateway backend clusters
Apr 24, 2026
Collaborator
Agent-Logs-Url: https://github.com/Kong/kongctl/sessions/c3735533-77b9-419a-ac08-5f843c43413a Co-authored-by: rspurgeon <10521262+rspurgeon@users.noreply.github.com>
Contributor
Author
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new E2E scenario to validate paginated listing behavior for Event Gateway backend clusters, ensuring the CLI properly traverses multiple pages and includes cleanup.
Changes:
- Added declarative test data defining 1 Event Gateway and 11 backend clusters.
- Added an E2E scenario that resets the org, applies resources, performs a paginated
get, and deletes created resources.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| test/e2e/scenarios/event-gateway/backend-cluster-pagination/testdata/egw-bc-pagination.yaml | Declarative config to create one gateway with enough backend clusters to force pagination. |
| test/e2e/scenarios/event-gateway/backend-cluster-pagination/scenario.yaml | New E2E workflow to apply, validate pagination via HTTP dumps, and cleanup via delete -f. |
…enario.yaml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Collaborator
|
@copilot review the test failure workflow run 1619 |
Agent-Logs-Url: https://github.com/Kong/kongctl/sessions/9a28b7c2-68db-4b8f-b306-349f76085334 Co-authored-by: rspurgeon <10521262+rspurgeon@users.noreply.github.com>
Contributor
Author
The assertion |
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.
test/e2e/scenarios/event-gateway/backend-cluster-pagination/testdata/egw-bc-pagination.yamlwith 1 event gateway and 11 backend clusterstest/e2e/scenarios/event-gateway/backend-cluster-pagination/scenario.yamlwith reset, apply, paginated-get, and cleanup steps002-delete-cleanupstep usingdelete -f --auto-approveto clean up the 12 created resources"total_changes > \0`": true` (matching the pattern used in other event-gateway scenarios) instead of hard-coded counts that caused assertion mismatch failures