Skip to content

Run tests against sbt 2.0.1 and update the expected test data - #121

Merged
Vasil Vasilev (vasilmkd) merged 1 commit into
masterfrom
update-sbt-2.0.1
Jun 29, 2026
Merged

Run tests against sbt 2.0.1 and update the expected test data#121
Vasil Vasilev (vasilmkd) merged 1 commit into
masterfrom
update-sbt-2.0.1

Conversation

@vasilmkd

Copy link
Copy Markdown
Contributor

What

Bumps the tested sbt 2.x version from 2.0.0 to 2.0.1 (the latest stable
sbt 2.x release) in LatestSbtVersions.scala, and regenerates the expected
structure.xml test data affected by the change.

SbtVersion_2_legacy (2.0.0-RC6) is intentionally left unchanged, as we
continue to test against that specific version to guard the
scalaCompilerBridgeBinaryJar binary-breakage workaround.

The 1.x series versions were also checked and are already up to date
(1.10.11, 1.11.7, 1.12.13 are the latest patches in their respective lines),
so no 1.x changes were required.

Affected test projects

All updated structure.xml files live under extractor/src/test/data/2.0/:

  • auto-scala-library-disabled
  • bsp-disabled-project
  • bsp-disabled-test-config
  • buildinfo
  • custom-source-generator
  • kotlinc-options
  • maanged-scala-auto-scala-library-disabled
  • missing-scala-library-jar
  • missing-scala-tool-config
  • scalafix-config-disabled
  • simple
  • source-generator-failure
  • unmanaged-scala-instance-ok

Nature of the changes

The diffs are limited to the sbt version bump:

  • <structure sbt="2.0.0"><structure sbt="2.0.1">
  • sbt boot classpath entries under org.scala-sbt → org.scala-sbt/sbt/2.0.1/…-2.0.1.jar`
  • the bundled io_3 dependency shipped with sbt
    to 1.12.2 (classes and sources jars)

No structural changes to the extracted model.

Testing

sbt --java-home <jdk17> clean +compile test — all 189 tests pass.

Bump SbtVersion_2 from 2.0.0 to 2.0.1 (latest stable sbt 2.x release)
and regenerate the affected structure.xml files under test/data/2.0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vasilmkd
Vasil Vasilev (vasilmkd) merged commit 3a8eaab into master Jun 29, 2026
1 check passed
@vasilmkd
Vasil Vasilev (vasilmkd) deleted the update-sbt-2.0.1 branch June 29, 2026 19:47
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.

1 participant