Skip to content

Add integration tests and examples for reverse tunnel reporter#44345

Draft
aakugan wants to merge 4 commits intoenvoyproxy:mainfrom
aakugan:reverse_tunnel_reporting_integ_tests
Draft

Add integration tests and examples for reverse tunnel reporter#44345
aakugan wants to merge 4 commits intoenvoyproxy:mainfrom
aakugan:reverse_tunnel_reporting_integ_tests

Conversation

@aakugan
Copy link
Copy Markdown
Contributor

@aakugan aakugan commented Apr 9, 2026

BUILDS ON #44344. Please review that one first.

Commit Message

Add integration tests and examples for reverse tunnel reporter

Additional Description

Adds end-to-end integration tests and usage examples for the reverse tunnel reporting system introduced in the prior PRs (#44327, #44342, #44344).

Integration tests:

  • GrpcClientIntegrationTest: spins up a full Envoy instance with the reverse tunnel bootstrap extensions and a real gRPC test server. Validates the complete flow: reverse tunnel establishment triggers connection events through the EventReporter
    new connections made using lds.
  • Test cases cover happy path, multi-listener fan-out, disconnect handling, reconnect with full push, and a release-only load test.

Examples:

  • responder-reporter-envoy.yaml: reference Envoy config showing how to wire the reporter and gRPC client into the upstream socket interface bootstrap extension.
  • test_server.cc: minimal standalone gRPC server that receives and prints tunnel reports, useful for manual validation and as a sample for others developing servers targeting this feature.

Also fixes the call from the reverse_tunnel_filter to the reporting when done with tenant_isolation.

Risk Level: Low

Testing

Integration tests, example config.

aakugan added 4 commits April 8, 2026 13:08
Signed-off-by: aakugan <aakashganapathy2@gmail.com>
Signed-off-by: aakugan <aakashganapathy2@gmail.com>
Signed-off-by: aakugan <aakashganapathy2@gmail.com>
…rter

Signed-off-by: aakugan <aakashganapathy2@gmail.com>
@aakugan aakugan marked this pull request as draft April 9, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant