Skip to content

Test Scala 3.10.2-RC1 and update sample dependencies - #1794

Merged
mkurz merged 9 commits into
playframework:mainfrom
mkurz:test-scala-3.10.2-rc1
Nov 20, 2026
Merged

mkurz merged 9 commits into
playframework:mainfrom
mkurz:test-scala-3.10.2-rc1

Conversation

@mkurz

@mkurz mkurz commented Nov 20, 2026

Copy link
Copy Markdown
Member

Update the 3.next test lane to Scala 3.10.2-RC1, which includes the compiler fixes for parallel compilation (scala/scala3#27074) and protected access in generated Protobuf Java sources (scala/scala3#27259).

  • Restore normal mixed compilation and reverse routers in the Java gRPC sample.
  • Allow parallel Slick compilation on Scala 2.13 and Scala 3.10.2-RC1 or newer, while keeping serialization for the affected older Scala 3 lanes.
  • Set fail-fast: false for all 31 sample matrices using one commented YAML anchor, so a failed combination does not cancel the remaining combinations.

Include these Scala Steward updates as separate cherry-picked commits so they share this PR's CI:

Validation on Java 17 / Linux aarch64:

  • Before the rebase and dependency cherry-picks, all 87 Scala 3.10.2-RC1 / Pekko HTTP cases passed: all 31 samples with sbt 1.13.0 and sbt 2.1.0, plus all 25 Gradle variants. One npm ENOTEMPTY setup failure passed unchanged on retry. This full sweep was not repeated after adding the dependency updates.
  • On the final branch, scala/isolated-slick migration, Slick code generation, and full tests pass with both Flyway updates on Scala 2.13.18, 3.3.9, 3.9.0, and 3.10.2-RC1 using both sbt versions: 8 cases, 32 test executions.
  • Slick's conditional compilation restriction was checked on all four Scala lanes with both sbt versions; actual parallel compilation and full tests passed on Scala 2.13 and RC1.
  • Workflow validation passes, including all 31 boolean inputs against the published cmd.yml@v4; git diff --check is clean.

Local runtime validation used Java 17 and Pekko HTTP. Java 21/25 and Netty are left to GitHub CI.

mkurz and others added 9 commits November 20, 2026 11:04
Advance the next Scala lane to the release candidate containing the protected Java access fix in scala/scala3#27259 and the concurrent name table fix in scala/scala3#27074.
Scala 3.10.2-RC1 fixes protected access to Protobuf BuilderParent types during mixed compilation. Remove the Java-first override and restore both reverse routers together. This reverts the workaround introduced in 8a9ff6f.
Scala 3.10.2-RC1 includes scala/scala3#27074, which fixes concurrent compiler name interning. Keep compilation serialized for affected older Scala 3 versions while allowing fixed compilers and Scala 2 to compile the samples concurrently. Retain the independent restriction on parallel test execution.
Disable fail-fast for every sample's reusable command workflow so a failing matrix job does not cancel the remaining combinations. Share the setting through a YAML anchor and explain it at its definition.
(cherry picked from commit e1eaa87)
(cherry picked from commit f4f59ad)
(cherry picked from commit 23aabb0)
(cherry picked from commit fd07abb)
@mergify

mergify Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

This pull request is merged.

@mkurz
mkurz merged commit c5864bc into playframework:main Nov 20, 2026
518 of 548 checks passed
@mkurz
mkurz deleted the test-scala-3.10.2-rc1 branch November 20, 2026 11:02
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.

2 participants