You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@pekko.apache.org by "He-Pin (via GitHub)" <gi...@apache.org> on 2026/06/28 22:07:08 UTC
[PR] build: enable -Xfatal-warnings for Scala 2 and -Werror for Scala 3 [pekko-persistence-cassandra]
He-Pin opened a new pull request, #441:
URL: https://github.com/apache/pekko-persistence-cassandra/pull/441
### Motivation
Treating warnings as errors ensures that deprecated API usage and other code quality issues are caught at compile time rather than accumulating silently.
### Modification
- Add `-Xfatal-warnings` to main `scalacOptions` in `Common.scala`
- Add `-Werror` to Scala 3 `scalacOptions`
- Console and doc scopes already exclude `-Xfatal-warnings`
### Result
All compiler warnings are now treated as errors, enforcing higher code quality.
### Tests
- CI will verify compilation
### References
None — build configuration improvement
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org
Re: [PR] build: enable -Xfatal-warnings for Scala 2 and -Werror for Scala 3 [pekko-persistence-cassandra]
Posted by "He-Pin (via GitHub)" <gi...@apache.org>.
He-Pin closed pull request #441: build: enable -Xfatal-warnings for Scala 2 and -Werror for Scala 3
URL: https://github.com/apache/pekko-persistence-cassandra/pull/441
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@pekko.apache.org
For additional commands, e-mail: notifications-help@pekko.apache.org