The GitHub Actions job "Headers" on pekko-persistence-dynamodb.git/fix/resolve-compiler-warnings has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: ffe3517b8d786d31cb0cf677cb35633c1cc48a18 / 虎鸣 <[email protected]> Fix deprecated AWS SDK v1 API compiler warnings Motivation: Compilation produced four deprecation warnings from AWS SDK v1 API usage: ClientConfiguration.setUserAgent, two AmazonDynamoDBAsyncClient constructor calls, and AmazonWebServiceClient.setEndpoint. Modification: - Replace deprecated AmazonDynamoDBAsyncClient constructors and setEndpoint call with AmazonDynamoDBAsyncClientBuilder pattern in package.scala, using withCredentials, withClientConfiguration, withEndpointConfiguration, and withExecutorFactory. - Add @nowarn("msg=is deprecated") to the setUserAgent call in DynamoDBClientConfig since AWS SDK v1 provides no non-deprecated replacement for this method on ClientConfiguration. Result: Clean compilation with zero deprecation warnings on both Scala 2.13 and Scala 3.3. Tests: sbt "++2.13.18; clean; compile" - no warnings sbt "++3.3.8; clean; compile" - no warnings References: None - compiler warning cleanup Report URL: https://github.com/apache/pekko-persistence-dynamodb/actions/runs/27592788959 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
