E2E Scenario Testing: Support HTTPRequest Step and Cloud SQL Advanced DR Scenarios - #13469
lovelace-coder-bot wants to merge 1 commit into
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
17ee1bf to
b5aeb7c
Compare
Investigating tests-scenarios-v2-sqlinstance failureRun: 36216690348
Action Taken:
(This report was generated by overseer) |
maqiuyujoyce
left a comment
There was a problem hiding this comment.
Please pause addressing feedback until #13478 is completed.
There was a problem hiding this comment.
Please revert the change in this file. Let's focus on still using script_test.go.
|
🤖 AI Factory started addressing review feedback for this pull request. |
b5aeb7c to
32e07e3
Compare
|
Reverted the changes in (This comment was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
32e07e3 to
03d24c2
Compare
Investigating tests-scenarios-v2-sqlinstance failureRun: 36231954271 (This report was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
Investigating tests-e2e-fixtures-clouddeploy failureRun: 36235962915 (This report was generated by overseer) |
|
🤖 AI Factory started resolving merge conflicts / rebasing this pull request in a sandbox. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
03d24c2 to
e3f9d2c
Compare
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
Investigating tests-e2e-fixtures-healthcare failureRun: 36641782241 (This report was generated by overseer) |
|
Please rebase against master HEAD and ensure scripts_v2_test is no longer there, make sure the scenario test aligns with the following steps, then run
|
|
🤖 AI Factory started addressing review feedback for this pull request. |
… DR Scenarios - Add virtual kind: HTTPRequest support in TestE2EScript with automatic LRO polling - Update harness.go to ignore HTTPRequest during CRD filtering - Document HTTPRequest in tests/e2e/testdata/scenarios/README.md - Add 4 modular Cloud SQL Advanced DR scenarios under tests/e2e/testdata/scenarios/sqlinstance: - advanced_dr_creation_deadlock - advanced_dr_switchover - advanced_dr_optout_and_failback - advanced_dr_steady_state_unannotated Issue: 13154
e3f9d2c to
9667888
Compare
|
Addressed review feedback:
(This comment was generated by overseer) |
|
🤖 AI Factory started investigating CI check failures for this pull request. Note: We recommend waiting for the 'ready-for-human' label before leaving review comments. Comments added while the system is actively working may be associated with outdated commits once a new commit is pushed, causing them to be ignored. |
This PR enhances the E2E Scenario testing framework with support for virtual
kind: HTTPRequeststeps and adds 4 comprehensive Cloud SQL Advanced Disaster Recovery (DR) scenario test suites.Summary of Changes
Scenario Framework Enhancement (
kind: HTTPRequest):kind: HTTPRequestvirtual step intests/e2e/script_test.goandtests/e2e/script_v2_test.go.h.GCPHTTPClient(), JSON payload sending, and variable substitutions for${projectId}and${uniqueId}.wait.PollUntilContextTimeout, supporting both Cloud SQL / Compute style (selfLink,status: DONE) and standardgoogle.longrunning.Operationstyle (name,done: true).config/tests/samples/create/harness.goto ignorekind: HTTPRequestduring CRD filtering inMaybeSkip.kind: HTTPRequestintests/e2e/testdata/scenarios/README.md.Cloud SQL Advanced DR Scenario Test Suites:
tests/e2e/testdata/scenarios/sqlinstance/:advanced_dr_creation_deadlock: Verifies circular dependency handling and resolution via thecnrm.cloud.google.com/sqlinstance-advanced-drannotation.advanced_dr_switchover: Verifies out-of-band switchovers viaHTTPRequestREST calls, inverted role toleration, and mutation skipping during inverted states.advanced_dr_optout_and_failback: Verifies annotation removal errors while switched over, error recovery upon re-enabling, reverse switchover (failback), and subsequent reconciliation.advanced_dr_steady_state_unannotated: Verifies that annotation removal in aligned states preserves readiness and normal ongoing maintenance.Fixes #13154
This PR was generated by the overseer agent (powered by the gemini-3.7-flash model).