diff --git a/.github/actions/build-project/action.yaml b/.github/actions/build-project/action.yaml index 7fe2aa5b..74cf54b5 100644 --- a/.github/actions/build-project/action.yaml +++ b/.github/actions/build-project/action.yaml @@ -110,7 +110,7 @@ runs: uses: addnab/docker-run-action@v3 if: steps.check-history.outputs.can-skip-build != 'true' with: - image: "virtuslab/scala-community-build-project-builder:jdk${{ env.java-version }}-v0.3.9" + image: "virtuslab/scala-community-build-project-builder:jdk${{ env.java-version }}-v0.3.10" options: -v ${{ github.workspace }}:/opencb/ -v ${{ github.workspace }}/github_key:/root/.ssh/github_key:ro run: | # Setup ssh required for downloading submodules diff --git a/.github/actions/setup-build/action.yaml b/.github/actions/setup-build/action.yaml index b29135af..779549c8 100644 --- a/.github/actions/setup-build/action.yaml +++ b/.github/actions/setup-build/action.yaml @@ -75,7 +75,7 @@ runs: uses: addnab/docker-run-action@v3 if: steps.check-published.outputs.is-compiler-published == 'false' with: - image: "virtuslab/scala-community-build-compiler-builder:v0.3.9" + image: "virtuslab/scala-community-build-compiler-builder:v0.3.10" options: -v ${{ github.workspace }}/compiler:/compiler/ run: | Version="${{ steps.calc-version.outputs.effective-scala-version }}" diff --git a/cli/scb-cli.scala b/cli/scb-cli.scala index c90c8588..956cd0d9 100755 --- a/cli/scb-cli.scala +++ b/cli/scb-cli.scala @@ -31,7 +31,7 @@ class FailedProjectException(msg: String) with NoStackTrace val communityBuildVersion = - sys.props.getOrElse("communitybuild.version", "v0.3.9") + sys.props.getOrElse("communitybuild.version", "v0.3.10") private val CBRepoName = "VirtusLab/community-build3" val projectBuilderUrl = s"https://raw.githubusercontent.com/$CBRepoName/master/project-builder" diff --git a/coordinator/configs/projects-config.conf b/coordinator/configs/projects-config.conf index 9c369250..050581c9 100644 --- a/coordinator/configs/projects-config.conf +++ b/coordinator/configs/projects-config.conf @@ -91,7 +91,11 @@ armanbilge_feral.projects.exclude = [ "com.armanbilge%feral-lambda-api-gateway-proxy-http4s", "com.armanbilge%feral-core" ] -armanbilge_gcp4s.tests = compile-only +armanbilge_gcp4s { + // Needs reordeding of given instances (since 3.4), fails to compile under -source:3.4 + sbt.commands = ["""set every excludeFilter ~= { _ || "EndToEndSuite.scala" }"""] + tests = compile-only +} armanbilge_van-cats.source-version=3.4 // override -source:future assist-iot-sripas_scala-mqtt-wrapper { sbt.commands = [ @@ -374,7 +378,10 @@ hedgehogqa_scala-hedgehog{ // -siteroot in Compile/scalacOptions since 3.0.2+ gives a warnings sbt.commands = ["disableFatalWarnings"] } -haifengl_smile.tests = compile-only +haifengl_smile { + tests = compile-only + java.version = 17 +} herminiogg_dmaog.tests = compile-only herminiogg_label2thesaurus.tests = compile-only herminiogg_shexml.tests = compile-only @@ -432,11 +439,18 @@ japgolly_test-state { } japgolly_clear-config.tests = compile-only jbwheatley_pact4s.sbt.commands = ["""set shared/scalacOptions --= Seq("-Wconf:cat=deprecation:i", "-Xfatal-warnings") """] -jchapuis_fs2-kafka-mock{ +jchapuis_fs2-kafka-mock { sbt.commands = [ "excludeLibraryDependency org.wartremover:wartremover_{scalaVersion}", "removeScalacOptionsStartingWith -P:wartremover" ] + source-patches = [ + { + path = "src/test/scala/io/github/jchapuis/fs2/kafka/mock/MockKafkaProducerSuite.scala" + pattern = "implicit val patience = MockKafkaProducer.Patience" + replace-with = "implicit val patience: MockKafkaProducer.Patience = MockKafkaProducer.Patience" + } + ] } jcouyang_dhall-generic.sbt.commands = ["set every Test/classLoaderLayeringStrategy := ClassLoaderLayeringStrategy.Flat"] jmcardon_tsec.tests=compile-only @@ -471,6 +485,7 @@ joernio_joern{ } projects.exclude=[php2cpg] // Malformed setup file } +json4s_json4s.source-version=3.3 julianpeeters_avrohugger.tests = compile-only jwojnowski_googlecloud4s.tests = compile-only // uses docker juliano_pokeapi-scala.tests = compile-only @@ -622,7 +637,13 @@ monix_implicitbox.sbt.commands = ["set every Test/classLoaderLayeringStrategy := mvv_sager.sbt.commands = ["disableFatalWarnings"] mvv_typine.sbt.commands = ["disableFatalWarnings"] -nafg_css-dsl.projects.exclude = ["io.github.nafg.css-dsl%fomanticui_scalatags"] // codegen fails +nafg_css-dsl.projects.exclude = [ + // codegen fails + "io.github.nafg.css-dsl%fomanticui_scalajsreact", + "io.github.nafg.css-dsl%fomanticui_scalatags", + "io.github.nafg.css-dsl%bulma_scalatags", + "io.github.nafg.css-dsl%bulma_scalajsreact" +] nafg_slick-migration-api.tests = compile-only nau_scalus.tests = compile-only naoh87_lettucef.tests = compile-only @@ -656,6 +677,9 @@ pjfanning_pekko-rabbitmq.tests = compile-only pjfanning_scala-faker.tests = compile-only playframework_playframework.tests = compile-only playframework_play-json.tests = compile-only +plokhotnyuk_jsoniter-scala { + sbt.commands = ["""set every Test/unmanagedSources/excludeFilter := HiddenFileFilter || "JsonCodecMakerNewTypeSpec.scala" """] +} polynote_uzhttp { source-patches = [ { @@ -874,6 +898,7 @@ regis-leray_fs2-ftp.tests = compile-only rssh_cps-async-connect.java.version = 21 t2v_holidays.tests = compile-only // invalid classpath at runtime +taig_backmail.source-version=3.4 taig_scala-linguist.projects.exclude=["io.taig%scala-linguist-graalvm-ruby"] // needs GraalVM taig_scala-pygments.projects.exclude=["io.taig%scala-pygments-graalvm-python"] takezoe_solr-scala-client.tests = compile-only diff --git a/coordinator/configs/slow-projects.txt b/coordinator/configs/slow-projects.txt index 94f96f9a..ec9597ae 100644 --- a/coordinator/configs/slow-projects.txt +++ b/coordinator/configs/slow-projects.txt @@ -1,11 +1,11 @@ akka/akka akka/akka-http akka/akka-persistence-cassandra -apache/incubator-pekko -apache/incubator-pekko-connectors-kafka -apache/incubator-pekko-connectors -apache/incubator-pekko-persistence-cassandra -apache/incubator-pekko-http +apache/pekko +apache/pekko-connectors-kafka +apache/pekko-connectors +apache/pekko-persistence-cassandra +apache/pekko-http automorph-org/automorph babylonhealth/lit-fhir epfl-lara/lisa diff --git a/project-builder/mill/MillCommunityBuild.sc b/project-builder/mill/MillCommunityBuild.sc index 756e856e..65385fc4 100644 --- a/project-builder/mill/MillCommunityBuild.sc +++ b/project-builder/mill/MillCommunityBuild.sc @@ -391,9 +391,9 @@ private def checkedModuleMappings( val mappings = moduleMappings(ctx) val unmatched = targetStrings.diff(mappings.keySet).diff(Set("*%*")) if (unmatched.nonEmpty) { - sys.error( - s"Failed to resolve mappings for targets: ${unmatched.mkString(", ")}" - ) + val msg = s"Failed to resolve mappings for ${unmatched.size}:${targetStrings.size} targets: ${unmatched.mkString(", ")}" + if(unmatched.size == targetStrings.size) sys.error(msg) + else System.err.println(msg) } mappings } diff --git a/project-builder/sbt/CommunityBuildPlugin.scala b/project-builder/sbt/CommunityBuildPlugin.scala index a5860e7f..1c8bea5c 100644 --- a/project-builder/sbt/CommunityBuildPlugin.scala +++ b/project-builder/sbt/CommunityBuildPlugin.scala @@ -440,7 +440,7 @@ object CommunityBuildPlugin extends AutoPlugin { } } .orElse { - println(s"""Module mapping missing: + System.err.println(s"""Module mapping missing: | id: $id | testedIds: $testedFullIds | scalaVersionSuffix: $scalaVersionSuffix @@ -454,9 +454,9 @@ object CommunityBuildPlugin extends AutoPlugin { } if (idsWithMissingMappings.nonEmpty) { - throw new Exception( - s"Module mapping missing for: ${idsWithMissingMappings.toSeq.mkString(", ")}" - ) + val msg = s"Failed to resolve mappings for ${idsWithMissingMappings.size}:${filteredIds.size} targets: ${idsWithMissingMappings.toSeq.mkString(", ")}" + if(idsWithMissingMappings.size >= filteredIds.size) sys.error(msg) + else System.err.println(msg) } mappedProjects.flatten.toSet } diff --git a/scripts/bisect.scala b/scripts/bisect.scala index 689c3bbc..ff1a2fc2 100755 --- a/scripts/bisect.scala +++ b/scripts/bisect.scala @@ -9,7 +9,7 @@ import java.nio.file.attribute.PosixFilePermissions import java.nio.charset.StandardCharsets import java.nio.file._ -val communityBuildVersion = "v0.3.9" +val communityBuildVersion = "v0.3.10" @main def run(args: String*): Unit = val config = scopt.OParser diff --git a/scripts/build-all.sh b/scripts/build-all.sh index 5f6dcceb..0c594926 100755 --- a/scripts/build-all.sh +++ b/scripts/build-all.sh @@ -7,7 +7,7 @@ if [ $# -ne 1 ]; then fi VERSION="$1" -export PREV_CB_VERSION="v0.3.8" +export PREV_CB_VERSION="v0.3.9" javaDefault=11 javaAccessoryVersions=(8 17 21)