The GitHub Actions job "Validate and test" on 
pekko-persistence-r2dbc.git/fix/resolve-compiler-warnings has succeeded.
Run started by GitHub user He-Pin (triggered by He-Pin).

Head commit for run:
e28786e81f0dee24a2c2abdeca3d90abc2693342 / 虎鸣 <[email protected]>
fix: resolve all compiler warnings

Motivation:
The project had several compiler warnings that cluttered build output:
an sbt lint warning about unused previewPath key, an existential type
feature warning in ConnectionFactoryProvider, a deprecation warning in
the Java DSL R2dbcDurableStateStore, and an annotation parsing warning
from the external r2dbc-spi dependency.

Modification:
- Add Global / excludeLintKeys += previewPath in build.sbt docs project
  to suppress the sbt lint warning about the unused key
- Add import scala.language.existentials in ConnectionFactoryProvider.scala
  to suppress the existential type feature warning
- Change javadsl R2dbcDurableStateStore.deleteObject(persistenceId) to
  delegate to the non-deprecated scalaStore.deleteObject(persistenceId,
  revision = 0) overload instead of the deprecated single-arg method
- Add -Wconf:msg=could not find MAYBE in enum:s for both Scala 2.13 and
  Scala 3 in CommonSettings.scala to suppress the unfixable r2dbc-spi
  annotation parsing warning

Result:
Clean compilation with zero warnings under both Scala 2.13 and Scala 3,
including when compiled with -deprecation and -feature flags.

Tests:
sbt "clean; compile" - zero warnings
sbt with -deprecation -feature flags - zero warnings

References:
None - compiler warning cleanup

Report URL: 
https://github.com/apache/pekko-persistence-r2dbc/actions/runs/27593327362

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to