sbt/sbt-app/src/sbt-test
BrianHotopp 0ecc581256 [2.x] fix: Apply dependencyMode filtering to internal project deps (#9250)
Fixes #9009.

dependencyMode := DependencyMode.PlusOne strips every internal
project dependency from the compile classpath, even direct ones --
LibA/compile fails with Not found: CoreClass despite
LibA.dependsOn(Core). Direct mode happens to work today, but only by
accident (filterByDirectDeps matches against allDependencies, which
includes projectDependencies -- the bug surface is one step removed).

Root cause: ClasspathImpl.filterByPlusOne resolves the
direct-dep key set from UpdateReport, which only contains externally
resolved (LM) modules. Internal project refs never appear there, so
resolvedDirectKeys is empty for internal entries; plusOneKeys is
likewise empty; the final filter strips every internal classpath
entry whose moduleIDStr identifies an internal project. Diagnosis on
the issue by eureka0928.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-01 06:56:33 -04:00
..
actions [2.0.x] fix: Fixes backtick-quoted project handling (#9277) (#9281) 2026-06-01 00:56:32 -04:00
apiinfo Remove tests that checks for the iteration 2026-05-14 01:36:03 -04:00
cache [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
classloader-cache avoid deprecated scala.App 2026-01-09 20:10:28 +09:00
compiler-project Remove tests that checks for the iteration 2026-05-14 01:36:03 -04:00
console [2.x] feat: Support fork in console task (#8604) 2026-01-25 02:16:49 -05:00
dependency-graph [2.x] fix: Allow dependencyTree to run despite eviction errors (#8554) 2026-01-15 22:52:38 -05:00
dependency-management [2.x] fix: Apply dependencyMode filtering to internal project deps (#9250) 2026-06-01 06:56:33 -04:00
ivy-deps-management/update-classifiers-snapshot-srcs [2.x] test: Use new wildcard syntax in test (#8807) 2026-02-24 00:15:37 -05:00
java Add scripted test for #6175 (#8598) 2026-01-21 02:31:07 -05:00
lm-coursier [2.0.x] fix: Unresolved dependency error for Coursier (#8869) (#8961) 2026-03-22 21:53:20 -04:00
nio [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
package [2.x] fix: Replace Scala version with u when crossPaths is false 2025-12-18 00:00:11 -05:00
plugins [2.0.x] Fix duplicate autoplugins packageBin mappings (#9255) (#9273) 2026-05-30 20:16:58 -04:00
project [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
project-load [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
project-matrix [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
project1/global-plugin [2.x] test: Move back the project scripted tests (#8660) 2026-01-31 17:41:45 -05:00
reporter [2.x] test: Use new wildcard syntax in test (#8807) 2026-02-24 00:15:37 -05:00
run [2.x] Fix console output not appearing with bgRun and run / fork := true (#9166) 2026-05-02 21:40:09 -04:00
server [2.x] Opt bspBuildTargetOutputPathsItem out of caching (#9272) 2026-06-01 04:14:18 -04:00
source-dependencies Remove tests that checks for the iteration 2026-05-14 01:36:03 -04:00
tests [2.0.x] Scala 3.8.3 (#8997) 2026-05-17 00:13:13 -04:00
watch Merge branch '1.12.x' into wip/merge-1.12.x 2026-01-05 00:08:21 -05:00