Skip to content

Conversation

@cloutierMat
Copy link
Member

@cloutierMat cloutierMat commented Dec 23, 2025

Motivation

When creating an ExternalBypassDnsClient, we should remain mindful of users proxy configurations and ensure that those external calls are respecting the Outbound Proxy configuration.

Changes

Ensure both the client and the http session are created with the user's http proxy configuration.

Tests

  • setup a local proxy.
  • start LocalStack with OUTBOUND_HTTP_PROXY and OUTBOUND_HTTPS_PROXY set to your proxies, configuration. It might be required also to set REQUESTS_CA_BUNDLE.
  • try to use the replicator to trigger the use of dns bypass client

Related

relates to UNC-146

@github-actions
Copy link

github-actions bot commented Dec 24, 2025

S3 Image Test Results (AMD64 / ARM64)

    2 files      2 suites   7m 41s ⏱️
  552 tests   500 ✅  52 💤 0 ❌
1 104 runs  1 000 ✅ 104 💤 0 ❌

Results for commit 72fc81b.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 24, 2025

Test Results - Preflight, Unit

23 046 tests  ±0   21 201 ✅ ±0   6m 11s ⏱️ -7s
     1 suites ±0    1 845 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 72fc81b. ± Comparison against base commit 3e92156.

♻️ This comment has been updated with latest results.

@cloutierMat cloutierMat added semver: patch Non-breaking changes which can be included in patch releases docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes area: replicator labels Dec 24, 2025
@github-actions
Copy link

github-actions bot commented Dec 24, 2025

Test Results (amd64) - Acceptance

7 tests  ±0   5 ✅ ±0   3m 2s ⏱️ -3s
1 suites ±0   2 💤 ±0 
1 files   ±0   0 ❌ ±0 

Results for commit 72fc81b. ± Comparison against base commit 3e92156.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 24, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 34m 43s ⏱️
5 569 tests 5 008 ✅ 561 💤 0 ❌
5 575 runs  5 008 ✅ 567 💤 0 ❌

Results for commit 72fc81b.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Dec 24, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 57m 4s ⏱️ -5s
5 162 tests ±0  4 764 ✅ ±0  398 💤 ±0  0 ❌ ±0 
5 164 runs  ±0  4 764 ✅ ±0  400 💤 ±0  0 ❌ ±0 

Results for commit 72fc81b. ± Comparison against base commit 3e92156.

♻️ This comment has been updated with latest results.

@cloutierMat cloutierMat force-pushed the replicator/use-outbound-proxy branch from c4aaa55 to 27d39af Compare January 8, 2026 18:37
@cloutierMat cloutierMat marked this pull request as ready for review January 8, 2026 20:25
@cloutierMat cloutierMat requested a review from thrau as a code owner January 8, 2026 20:25
@cloutierMat
Copy link
Member Author

cloutierMat commented Jan 8, 2026

Test failure is addressed by #13599

@cloutierMat
Copy link
Member Author

Adding @simonrw, as original author of the DNS Bypass classes

@cloutierMat cloutierMat requested a review from simonrw January 8, 2026 20:31
}
)
if config:
proxy_config = config.merge(proxy_config)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: it feels weird calling this the proxy config, maybe reassign the config variable?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that you point it out, you are right. I was trying to avoid using an extra if or else. I will make it a one liner in the super call. It actually reads better to me that way 👍

@cloutierMat cloutierMat merged commit 1d67992 into main Jan 12, 2026
49 checks passed
@cloutierMat cloutierMat deleted the replicator/use-outbound-proxy branch January 12, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: replicator docs: skip Pull request does not require documentation changes notes: skip Pull request does not have to be mentioned in the release notes semver: patch Non-breaking changes which can be included in patch releases

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants