Repository navigation
test/on_demand: Warm the VHDS-with-body listener instead of timing out - #49070
Merged
Merged
Conversation
phlax
requested
a balanced review from Copilot
and removed request for
kyessenov and
yanavlasov
November 7, 2026 13:46
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the VHDS-with-body test initialization change.
No open issues 🎉
What changed in this PR
Updates the on-demand VHDS-with-body integration test setup to warm the listener through xDS responses rather than waiting for the initial-fetch timeout, reducing avoidable test delays.
Changes:
- Defers listener finalization until the initial RDS and VHDS requests are served.
- Sends an initial VHDS response and verifies its acknowledgment.
- Waits for listener readiness and worker startup before registering test ports.
| File | Description |
|---|---|
test/extensions/filters/http/on_demand/on_demand_integration_test.cc |
Reorders VHDS-with-body initialization to complete listener warming without timing out. |
Review effort: Balanced
phlax
force-pushed
the
on-demand-vhds-body-test-warming
branch
from
November 7, 2026 14:29
260ca0f to
0175e96
Compare
`OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]>
phlax
force-pushed
the
on-demand-vhds-body-test-warming
branch
from
November 11, 2026 23:33
0175e96 to
cfd01e1
Compare
Member
Author
|
@antoniovleonti @tyxia ptal - rebased to main. |
tyxia
approved these changes
Nov 11, 2026
phlax
enabled auto-merge (squash)
November 11, 2026 23:37
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 12, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]>
jwendell
pushed a commit
that referenced
this pull request
Nov 12, 2026
#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
This was referenced Nov 13, 2026
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 13, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 16, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 17, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
that referenced
this pull request
Nov 17, 2026
#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
phlax
added a commit
to phlax/envoy
that referenced
this pull request
Nov 18, 2026
envoyproxy#49070) `OnDemandVhdsWithBodyIntegrationTest::initialize()` waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15s `initial_fetch_timeout` had given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidates `test/integration`. Follow the `VhdsIntegrationTest` sequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start. Backport note: this branch waits with `waitForGaugeEq()`. Signed-off-by: Ryan Northey <[email protected]> (cherry picked from commit d1d97c4) Signed-off-by: Ryan Northey <[email protected]>
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.
OnDemandVhdsWithBodyIntegrationTest::initialize()waited for the listener before serving the RDS/VHDS streams it warms on, so every case only proceeded once the 15sinitial_fetch_timeouthad given up on the route configuration. The 20 non-skipped cases therefore took ~15s each, putting a 300s test shard on the critical path of any CI job that invalidatestest/integration.Follow the
VhdsIntegrationTestsequence instead: defer listener finalization, answer the initial RDS and VHDS requests, then wait for the listener to warm and the workers to start.