Skip to content

Conversation

dfangl
Copy link
Member

@dfangl dfangl commented Sep 9, 2025

Motivation

With #13119 we introduced a workaround for S3 presigned urls returned by Lambda.

However, this - again - showed the issues with the current URL rewriting inside internal and external clients.

The logic should not be necessary at all for internal clients (since the requests are signed and it uses path addressing), and even for external clients, it should only be necessary for the vhost s3 tests.

This PR tries removing the logic completely from internal clients, and only apply a similar logic for external clients without an explicit endpoint url override.

Changes

  • Remove s3 endpoint url rewrite logic for internal clients
  • Only use specific s3 endpoint for external clients without overridden endpoint

Testing

Testing this will require to run all community and pro pipelines, including optional ones, against this PR, to make sure we do not miss something.
To avoid regressions and give additional time for testing, this will not make it into 4.8.

TODO

What's left to do:

@dfangl dfangl requested a review from thrau as a code owner September 9, 2025 12:59
@dfangl dfangl added semver: patch Non-breaking changes which can be included in patch releases skip-docs Pull request does not require documentation changes labels Sep 9, 2025
@dfangl dfangl requested a review from bentsku September 9, 2025 12:59
@dfangl dfangl added this to the 4.9 milestone Sep 9, 2025
Copy link

github-actions bot commented Sep 9, 2025

Test Results - Preflight, Unit

22 124 tests  ±0   20 386 ✅ ±0   6m 26s ⏱️ -16s
     1 suites ±0    1 738 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 11ab839. ± Comparison against base commit 17ea66b.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Sep 9, 2025

Test Results (amd64) - Acceptance

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

Results for commit 11ab839. ± Comparison against base commit 17ea66b.

♻️ This comment has been updated with latest results.

@dfangl dfangl marked this pull request as draft September 9, 2025 13:59
Copy link

github-actions bot commented Sep 9, 2025

S3 Image Test Results (AMD64 / ARM64)

    2 files    2 suites   7m 52s ⏱️
  521 tests 469 ✅  52 💤 0 ❌
1 042 runs  938 ✅ 104 💤 0 ❌

Results for commit 11ab839.

Copy link

github-actions bot commented Sep 9, 2025

Test Results (amd64) - Integration, Bootstrap

    5 files      5 suites   2h 34m 22s ⏱️
5 011 tests 4 520 ✅ 491 💤 0 ❌
5 017 runs  4 520 ✅ 497 💤 0 ❌

Results for commit 11ab839.

Copy link

github-actions bot commented Sep 9, 2025

LocalStack Community integration with Pro

    2 files  ±0      2 suites  ±0   1h 56m 35s ⏱️ + 1m 56s
4 637 tests +1  4 306 ✅ +1  331 💤 ±0  0 ❌ ±0 
4 639 runs  +1  4 306 ✅ +1  333 💤 ±0  0 ❌ ±0 

Results for commit 11ab839. ± Comparison against base commit 17ea66b.

This pull request removes 1 and adds 2 tests. Note that renamed tests count towards both.
tests.aws.services.cloudformation.api.test_stacks.TestStacksApi ‑ test_stack_description_lifecycle
tests.aws.services.cloudformation.api.test_stacks.TestStacksApi ‑ test_stack_description_lifecycle[no-tags]
tests.aws.services.cloudformation.api.test_stacks.TestStacksApi ‑ test_stack_description_lifecycle[with-tags]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases skip-docs Pull request does not require documentation changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant