Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-compile for Scala 3 #388

Merged

Conversation

grzegorz-bielski
Copy link
Contributor

@grzegorz-bielski grzegorz-bielski commented Oct 27, 2023

Updated all deps (besides kafka-clients) and cross compiled against 3.3.1, 2.13.12 and 2.12.18.

TODO:

} yield (a, b)
.traverseFilter { case (k, v) =>
if (k != null && (keepNullValues || v != null)) (ka(k), vb(v)).mapN((_, _).some)
else none[(A, B)].pure[F]
Copy link
Contributor Author

@grzegorz-bielski grzegorz-bielski Oct 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Due to Scala 3 bug compiler crashed here, so I rewrote it without partial function.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add comment about this bug.

@grzegorz-bielski
Copy link
Contributor Author

@Z1kkurat, @t3hnar please review if you have some time

@coveralls
Copy link

coveralls commented Nov 2, 2023

Pull Request Test Coverage Report for Build 6781722747

  • 21 of 21 (100.0%) changed or added relevant lines in 10 files are covered.
  • 4 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+20.4%) to 97.001%

Files with Coverage Reduction New Missed Lines %
modules/metrics/src/main/scala/com/evolutiongaming/skafka/metrics/KafkaMetricsCollector.scala 1 0.0%
skafka/src/main/scala/com/evolutiongaming/skafka/consumer/RebalanceCallback.scala 1 99.54%
skafka/src/main/scala/com/evolutiongaming/skafka/producer/ProducerLogging.scala 2 88.57%
Totals Coverage Status
Change from base Build 5964890790: 20.4%
Covered Lines: 2167
Relevant Lines: 2234

💛 - Coveralls

@grzegorz-bielski grzegorz-bielski force-pushed the chore/scala3-cross-compile branch from 95c965e to 1951861 Compare November 3, 2023 15:03
Copy link
Contributor

@Z1kkurat Z1kkurat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@t3hnar
Copy link
Contributor

t3hnar commented Nov 6, 2023

Thanks, overall it looks nice!

@Z1kkurat Z1kkurat merged commit 827416f into evolution-gaming:master Nov 8, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants