Skip to content

Use x-amz-retry-after for suggested delay - #6914

Merged
dagnir merged 2 commits into
feature/master/2026-new-retriesfrom
dongie/2026-new-retries/x-amz-retry-after
Apr 29, 2026
Merged

Use x-amz-retry-after for suggested delay#6914
dagnir merged 2 commits into
feature/master/2026-new-retriesfrom
dongie/2026-new-retries/x-amz-retry-after

Use x-amz-retry-after for suggested delay

575b7ce
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 28, 2026 in 16m 7s

Quality Gate failed

Failed conditions
34 Security Hotspots
C Security Rating on New Code (required ≥ A)
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 72 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/InputStreamWithExecutorAsyncRequestBodyTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMI7BIKHU6rmS9Rn&open=AZ3VWMI7BIKHU6rmS9Rn&pullRequest=6914

Check failure on line 38 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/InputStreamWithExecutorAsyncRequestBodyTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMI7BIKHU6rmS9Ro&open=AZ3VWMI7BIKHU6rmS9Ro&pullRequest=6914

Check warning on line 35 in codegen/src/test/java/software/amazon/awssdk/codegen/customization/processors/LongPollingOperationProcessTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMPuBIKHU6rmS9SA&open=AZ3VWMPuBIKHU6rmS9SA&pullRequest=6914

Check warning on line 54 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/RetryableStageTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJVBIKHU6rmS9Rq&open=AZ3VWMJVBIKHU6rmS9Rq&pullRequest=6914

Check warning on line 275 in core/aws-core/src/main/java/software/amazon/awssdk/awscore/internal/AwsExecutionContextBuilder.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Complete the task associated to this TODO comment.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMLnBIKHU6rmS9R5&open=AZ3VWMLnBIKHU6rmS9R5&pullRequest=6914

Check failure on line 74 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/InputStreamWithExecutorAsyncRequestBodyTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMI7BIKHU6rmS9Rp&open=AZ3VWMI7BIKHU6rmS9Rp&pullRequest=6914

Check warning on line 192 in core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/AsyncRetryableStage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this method into "RetryingExecutor".

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMC_BIKHU6rmS9Rl&open=AZ3VWMC_BIKHU6rmS9Rl&pullRequest=6914

Check warning on line 159 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/AsyncRetryableStageTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Test further the exception raised by this assertThatThrownBy call.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJtBIKHU6rmS9Ry&open=AZ3VWMJtBIKHU6rmS9Ry&pullRequest=6914

Check warning on line 36 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/async/InputStreamWithExecutorAsyncRequestBodyTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMI7BIKHU6rmS9Rm&open=AZ3VWMI7BIKHU6rmS9Rm&pullRequest=6914

Check warning on line 204 in core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/pipeline/stages/AsyncRetryableStage.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this method into "RetryingExecutor".

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMC_BIKHU6rmS9Rk&open=AZ3VWMC_BIKHU6rmS9Rk&pullRequest=6914

Check warning on line 11 in .github/workflows/s3-regression-tests.yml

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Move this write permission from workflow level to job level.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMRhBIKHU6rmS9SP&open=AZ3VWMRhBIKHU6rmS9SP&pullRequest=6914

Check warning on line 158 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/utils/RetryableStageHelperTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).contains(expected) instead.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJfBIKHU6rmS9Rv&open=AZ3VWMJfBIKHU6rmS9Rv&pullRequest=6914

Check failure on line 21 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/BaseRetryableStageTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add some tests to this class.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJ0BIKHU6rmS9R1&open=AZ3VWMJ0BIKHU6rmS9R1&pullRequest=6914

Check warning on line 685 in core/retries/src/test/java/software/amazon/awssdk/retries/internal/StandardRetryStrategyTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused "statusCode" private field.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMMzBIKHU6rmS9R9&open=AZ3VWMMzBIKHU6rmS9R9&pullRequest=6914

Check warning on line 79 in http-clients/aws-crt-client/src/main/java/software/amazon/awssdk/http/crt/internal/response/InputStreamAdaptingHttpStreamResponseHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this lambda with method reference 'responseHandlerHelper::closeStream'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMPPBIKHU6rmS9R_&open=AZ3VWMPPBIKHU6rmS9R_&pullRequest=6914

Check warning on line 160 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/utils/RetryableStageHelperTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use assertThat(actual).contains(expected) instead.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJfBIKHU6rmS9Rw&open=AZ3VWMJfBIKHU6rmS9Rw&pullRequest=6914

Check warning on line 63 in core/sdk-core/src/test/java/software/amazon/awssdk/core/async/AsyncRequestBodyFromInputStreamConfigurationTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor the code of the lambda to have only one invocation possibly throwing a runtime exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMKNBIKHU6rmS9R4&open=AZ3VWMKNBIKHU6rmS9R4&pullRequest=6914

Check warning on line 226 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/AsyncRetryableStageTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Test further the exception raised by this assertThatThrownBy call.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJtBIKHU6rmS9Rz&open=AZ3VWMJtBIKHU6rmS9Rz&pullRequest=6914

Check warning on line 65 in core/aws-core/src/test/java/software/amazon/awssdk/awscore/client/builder/InternalDefaultsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove the parentheses around the "env" parameter

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMMDBIKHU6rmS9R7&open=AZ3VWMMDBIKHU6rmS9R7&pullRequest=6914

Check warning on line 49 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/utils/RetryableStageHelperTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJfBIKHU6rmS9Ru&open=AZ3VWMJfBIKHU6rmS9Ru&pullRequest=6914

Check warning on line 90 in codegen/src/main/java/software/amazon/awssdk/codegen/customization/processors/LongPollingOperationProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMQ-BIKHU6rmS9SB&open=AZ3VWMQ-BIKHU6rmS9SB&pullRequest=6914

Check warning on line 23 in core/retries/src/test/java/software/amazon/awssdk/retries/StandardRetryStrategyV21ConstantsTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'software.amazon.awssdk.retries.api.BackoffStrategy'.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMNCBIKHU6rmS9R-&open=AZ3VWMNCBIKHU6rmS9R-&pullRequest=6914

Check warning on line 133 in core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/RetryableStageTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Test further the exception raised by this assertThatThrownBy call.

See more on https://sonarcloud.io/project/issues?id=aws_aws-sdk-java-v2&issues=AZ3VWMJVBIKHU6rmS9Rr&open=AZ3VWMJVBIKHU6rmS9Rr&pullRequest=6914