Skip to content

[3.0.x] fix routes cache directory (backport #13443) by @xuwei-k#13462

Merged
mergify[bot] merged 1 commit into
3.0.xfrom
mergify/bp/3.0.x/pr-13443
Aug 21, 2025
Merged

[3.0.x] fix routes cache directory (backport #13443) by @xuwei-k#13462
mergify[bot] merged 1 commit into
3.0.xfrom
mergify/bp/3.0.x/pr-13443

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Aug 21, 2025

Pull Request Checklist

Helpful things

Fixes

fix cache directory location. don't use target/scala-2.13/routes/ sources if Scala 3.

Purpose

see scripted test. following error if without this fix

[info] [error] java.lang.AssertionError: assertion failed: scalaVersion = 3.7.2, file = /private/var/folders/nz/vb2z3s8j7719gg71zgz9gj_40000gn/T/sbt_c167a6a1/target/scala-2.13/routes/main/controllers/routes.java
[info] [error] 	at scala.Predef$.assert(Predef.scala:223)
[info] [error] 	at $ef7a6fd61184684303de$.$anonfun$$sbtdef$2(/private/var/folders/nz/vb2z3s8j7719gg71zgz9gj_40000gn/T/sbt_c167a6a1/build.sbt:14)
[info] [error] 	at $ef7a6fd61184684303de$.$anonfun$$sbtdef$2$adapted(/private/var/folders/nz/vb2z3s8j7719gg71zgz9gj_40000gn/T/sbt_c167a6a1/build.sbt:13)
[info] [error] 	at scala.collection.immutable.List.foreach(List.scala:431)
[info] [error] 	at $ef7a6fd61184684303de$.$anonfun$$sbtdef$1(/private/var/folders/nz/vb2z3s8j7719gg71zgz9gj_40000gn/T/sbt_c167a6a1/build.sbt:13)
[info] [error] 	at $ef7a6fd61184684303de$.$anonfun$$sbtdef$1$adapted(/private/var/folders/nz/vb2z3s8j7719gg71zgz9gj_40000gn/T/sbt_c167a6a1/build.sbt:11)

Background Context

References


This is an automatic backport of pull request #13443 done by [Mergify](https://mergify.com).

(cherry picked from commit 4dcb4ff)
@mergify mergify Bot mentioned this pull request Aug 21, 2025
7 tasks
@mergify mergify Bot merged commit 7ba3c40 into 3.0.x Aug 21, 2025
27 checks passed
@mergify mergify Bot deleted the mergify/bp/3.0.x/pr-13443 branch August 21, 2025 15:03
@mkurz mkurz added this to the 3.0.9 milestone Sep 11, 2025
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